diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | mtcap/MTCAP-0.3-pps.dtso | 20 |
3 files changed, 23 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fa40dd2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.dtbo @@ -1,6 +1,4 @@ CC?=$(CROSS_COMPILE)gcc -DTC_OPTIONS?=-@ -DTC_OPTIONS += -Wno-unit_address_vs_reg -Wno-graph_child_address -Wno-pwms_property KERNEL_DIR?=../linux KERNEL_BUILD_DIR?=$(KERNEL_DIR) # Need a dtc new enough to handle the DTC options. @@ -8,6 +6,7 @@ DTC?=/usr/bin/dtc MTCDT_DTBO_OBJECTS:= $(patsubst %.dtso,%.dtbo,$(wildcard mtcdt/*.dtso)) MTRV1_DTBO_OBJECTS:= $(patsubst %.dtso,%.dtbo,$(wildcard mtrv1/*.dtso)) +MTCAP_DTBO_OBJECTS:= $(patsubst %.dtso,%.dtbo,$(wildcard mtcap/*.dtso)) %.pre.dtso: %.dtso $(CC) -E -nostdinc -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/arch/arm/boot/dts -x assembler-with-cpp -undef -o $@ $^ @@ -20,6 +19,7 @@ MTRV1_DTBO_OBJECTS:= $(patsubst %.dtso,%.dtbo,$(wildcard mtrv1/*.dtso)) mtcdt_dtbos: $(MTCDT_DTBO_OBJECTS) mtrv1_dtbos: $(MTRV1_DTBO_OBJECTS) +mtcap_dtbos: $(MTCAP_DTBO_OBJECTS) .PHONY: clean clean: diff --git a/mtcap/MTCAP-0.3-pps.dtso b/mtcap/MTCAP-0.3-pps.dtso new file mode 100644 index 0000000..6b89e65 --- /dev/null +++ b/mtcap/MTCAP-0.3-pps.dtso @@ -0,0 +1,20 @@ +/* + * DTS file for Multi-Tech Systems MTCAP 0.3 Hardware + * + * Copyright (C) 2019 by Multi-Tech Systems, + * + * Licensed under GPLv2 or later. + */ + +/dts-v1/; + +/ { + model = "Multi-Tech Systems MTCAP-0.3"; + compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + fragment@0 { + target-path = "/pps-0"; + __overlay__ { + status = "okay"; + }; + }; /* fragment@0 */ +}; |