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";
27 stmpe2401_1_nhk_mode: stmpe2401_1_nhk {
29 pins = "GPIO76_B20"; // IRQ line
33 pins = "GPIO77_B8"; // reset line
39 stmpe2401_2_nhk_mode: stmpe2401_2_nhk {
41 pins = "GPIO78_A8"; // IRQ line
45 pins = "GPIO79_C9"; // reset line
53 /* These chrystal outputs are not used on this board */
58 /* This is where the interrupt is routed on the NHK-15 debug board */
59 external-bus@34000000 {
60 compatible = "simple-bus";
61 reg = <0x34000000 0x1000000>;
64 ranges = <0 0x34000000 0x1000000>;
66 compatible = "smsc,lan91c111";
67 reg = <0x300 0x0fd00>;
69 reset-gpios = <&stmpe_gpio44 10 GPIO_ACTIVE_HIGH>;
70 interrupt-parent = <&stmpe_gpio44>;
71 interrupts = <11 IRQ_TYPE_EDGE_RISING>;
76 stmpe0: stmpe2401@43 {
77 compatible = "st,stmpe2401";
79 reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>; // GPIO77
80 interrupts = <12 IRQ_TYPE_EDGE_FALLING>; // GPIO76
81 interrupt-parent = <&gpio2>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&stmpe2401_1_nhk_mode>;
86 stmpe_gpio43: stmpe_gpio {
87 compatible = "st,stmpe-gpio";
91 #interrupt-cells = <2>;
92 /* Some pins in alternate functions */
93 st,norequest-mask = <0xf0f002>;
96 compatible = "st,stmpe-keypad";
97 debounce-interval = <64>;
100 keypad,num-rows = <8>;
101 keypad,num-columns = <8>;
102 linux,keymap = <0x00020072 // Vol down
118 stmpe1: stmpe2401@44 {
119 compatible = "st,stmpe2401";
121 reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; // GPIO79
122 interrupts = <14 IRQ_TYPE_EDGE_FALLING>; // GPIO78
123 interrupt-parent = <&gpio2>;
124 interrupt-controller;
126 pinctrl-names = "default";
127 pinctrl-0 = <&stmpe2401_2_nhk_mode>;
128 stmpe_gpio44: stmpe_gpio {
129 compatible = "st,stmpe-gpio";
132 interrupt-controller;
133 #interrupt-cells = <2>;
139 mmcsd: sdi@101f6000 {
140 cd-gpios = <&stmpe_gpio44 7 GPIO_ACTIVE_LOW>;
141 wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>;
145 /* Custom board node with GPIO pins to active etc */
147 /* This will turn off SATA so that MMC/SD can thrive */
149 gpios = <&stmpe_gpio44 2 0x1>;