2 * Device Tree for the ST-Ericsson Nomadik S8815 board
3 * Produced by Calao Systems
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include "ste-nomadik-stn8815.dtsi"
12 model = "Nomadik STN8815NHK";
13 compatible = "st,nomadik-nhk-15";
16 bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
26 stmpe2401_1_nhk_mode: stmpe2401_1_nhk {
28 pins = "GPIO76_B20"; // IRQ line
32 pins = "GPIO77_B8"; // reset line
38 stmpe2401_2_nhk_mode: stmpe2401_2_nhk {
40 pins = "GPIO78_A8"; // IRQ line
44 pins = "GPIO79_C9"; // reset line
52 /* These chrystal outputs are not used on this board */
57 /* This is where the interrupt is routed on the NHK-15 debug board */
58 external-bus@34000000 {
59 compatible = "simple-bus";
60 reg = <0x34000000 0x1000000>;
63 ranges = <0 0x34000000 0x1000000>;
65 compatible = "smsc,lan91c111";
66 reg = <0x300 0x0fd00>;
68 reset-gpios = <&stmpe_gpio44 10 GPIO_ACTIVE_HIGH>;
69 interrupt-parent = <&stmpe_gpio44>;
70 interrupts = <11 IRQ_TYPE_EDGE_RISING>;
75 stmpe0: stmpe2401@43 {
76 compatible = "st,stmpe2401";
78 reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>; // GPIO77
79 interrupts = <12 IRQ_TYPE_EDGE_FALLING>; // GPIO76
80 interrupt-parent = <&gpio2>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&stmpe2401_1_nhk_mode>;
85 stmpe_gpio43: stmpe_gpio {
86 compatible = "st,stmpe-gpio";
90 #interrupt-cells = <2>;
91 /* Some pins in alternate functions */
92 st,norequest-mask = <0xf0f002>;
95 compatible = "st,stmpe-keypad";
96 debounce-interval = <64>;
99 keypad,num-rows = <8>;
100 keypad,num-columns = <8>;
101 linux,keymap = <0x00020072 // Vol down
117 stmpe1: stmpe2401@44 {
118 compatible = "st,stmpe2401";
120 reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; // GPIO79
121 interrupts = <14 IRQ_TYPE_EDGE_FALLING>; // GPIO78
122 interrupt-parent = <&gpio2>;
123 interrupt-controller;
125 pinctrl-names = "default";
126 pinctrl-0 = <&stmpe2401_2_nhk_mode>;
127 stmpe_gpio44: stmpe_gpio {
128 compatible = "st,stmpe-gpio";
131 interrupt-controller;
132 #interrupt-cells = <2>;
138 mmcsd: sdi@101f6000 {
139 cd-gpios = <&stmpe_gpio44 7 GPIO_ACTIVE_LOW>;
140 wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>;
144 /* Custom board node with GPIO pins to active etc */
146 /* This will turn off SATA so that MMC/SD can thrive */
148 gpios = <&stmpe_gpio44 2 0x1>;