summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Castro <lucas@soho-gw.zw.home>2024-07-29 00:01:12 -0300
committerLucas Castro <lucas@soho-gw.zw.home>2024-07-29 00:01:12 -0300
commit428eb0d2491212ae20b13a5be87ed90ce36c819e (patch)
tree3da30263c9bbe8f1dd4e086205aa1cfc626455a6
parent9e55de30b1960b3d15957cd2cb5da08eb978bd3e (diff)
added dts for capu board
-rw-r--r--BB-CAPU.dts34
1 files changed, 34 insertions, 0 deletions
diff --git a/BB-CAPU.dts b/BB-CAPU.dts
new file mode 100644
index 0000000..52bcf1d
--- /dev/null
+++ b/BB-CAPU.dts
@@ -0,0 +1,34 @@
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/pinctrl/am33xx.h>
+
+
+&{/chosen} {
+ overlays {
+ BB-BONE-CAPU-01-00A1 = __TIMESTAMP__;
+ };
+};
+
+&am33xx_pinmux {
+ irqtest_pins: irqtest_pins {
+ pinctrl-single,pins = <AM33XX_IOPAD(0x878, PIN_INPUT_PULLDOWN | MUX_MODE7)>;
+ };
+};
+
+&{/} {
+
+ irqtest {
+ compatible = "ldddc,irqtest";
+
+ pinctrl-name = "default";
+ pinctrl-0 = <&irqtest_pins>;
+
+ interrupt-names = "gpio-irq-test";
+ interrupt-parrent = <&gpio1>;
+ interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
+ };
+
+};