1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Device Tree for the ST Microelectronics Nom 4 */ 5 6 /dts-v1/; 7 #include <dt-bindings/interrupt-controller/irq 8 #include <dt-bindings/gpio/gpio.h> 9 #include "ste-nomadik-stn8815.dtsi" 10 11 / { 12 model = "Nomadik STN8815NHK"; 13 compatible = "st,nomadik-nhk-15"; 14 15 chosen { 16 bootargs = "root=/dev/ram0 con 17 }; 18 19 aliases { 20 serial0 = &uart0; 21 serial1 = &uart1; 22 stmpe-i2c0 = &stmpe0; 23 stmpe-i2c1 = &stmpe1; 24 }; 25 26 pinctrl { 27 uart0 { 28 uart0_nhk_mode: uart0_ 29 u0_default_mux 30 functi 31 groups 32 }; 33 }; 34 }; 35 36 stmpe2401_1 { 37 stmpe2401_1_nhk_mode: 38 nhk_cfg1 { 39 pins = 40 ste,in 41 }; 42 nhk_cfg2 { 43 pins = 44 ste,ou 45 }; 46 }; 47 }; 48 stmpe2401_2 { 49 stmpe2401_2_nhk_mode: 50 nhk_cfg1 { 51 pins = 52 ste,in 53 }; 54 nhk_cfg2 { 55 pins = 56 ste,ou 57 }; 58 }; 59 }; 60 lis3lv02dl { 61 lis3lv02dl_nhk_mode: l 62 nhk_cfg1 { 63 pins = 64 ste,in 65 }; 66 }; 67 }; 68 }; 69 src@101e0000 { 70 /* These chrystal outputs are 71 disable-sxtalo; 72 disable-mxtalo; 73 }; 74 75 /* This is where the interrupt is rout 76 external-bus@34000000 { 77 compatible = "simple-bus"; 78 reg = <0x34000000 0x1000000>; 79 #address-cells = <1>; 80 #size-cells = <1>; 81 ranges = <0 0x34000000 0x10000 82 ethernet@300 { 83 compatible = "smsc,lan 84 reg = <0x300 0x0fd00>; 85 reg-io-width = <2>; 86 reset-gpios = <&stmpe_ 87 interrupt-parent = <&s 88 interrupts = <11 IRQ_T 89 }; 90 }; 91 92 i2c0 { 93 lis3lv02dl@1d { 94 /* Accelerometer */ 95 compatible = "st,lis3l 96 interrupt-parent = <&g 97 interrupts = <18 IRQ_T 98 pinctrl-0 = <&lis3lv02 99 pinctrl-names = "defau 100 reg = <0x1d>; 101 }; 102 stmpe0: port-expander@43 { 103 compatible = "st,stmpe 104 reg = <0x43>; 105 reset-gpios = <&gpio2 106 interrupts = <12 IRQ_T 107 interrupt-parent = <&g 108 wakeup-source; 109 pinctrl-names = "defau 110 pinctrl-0 = <&stmpe240 111 stmpe_gpio43: gpio { 112 compatible = " 113 gpio-controlle 114 #gpio-cells = 115 interrupt-cont 116 #interrupt-cel 117 /* Some pins i 118 st,norequest-m 119 }; 120 keyboard-controller { 121 compatible = " 122 debounce-inter 123 st,scan-count 124 st,no-autorepe 125 keypad,num-row 126 keypad,num-col 127 linux,keymap = 128 129 130 131 132 133 134 135 136 137 138 139 140 141 }; 142 stmpe0_pwm: pwm { 143 compatible = " 144 #pwm-cells = < 145 }; 146 }; 147 stmpe1: port-expander@44 { 148 compatible = "st,stmpe 149 reg = <0x44>; 150 reset-gpios = <&gpio2 151 interrupts = <14 IRQ_T 152 interrupt-parent = <&g 153 wakeup-source; 154 pinctrl-names = "defau 155 pinctrl-0 = <&stmpe240 156 stmpe_gpio44: gpio { 157 compatible = " 158 gpio-controlle 159 #gpio-cells = 160 interrupt-cont 161 #interrupt-cel 162 /* 163 * This will t 164 * can thrive 165 */ 166 mmcsd-hog { 167 gpio-h 168 gpios 169 output 170 line-n 171 }; 172 }; 173 }; 174 }; 175 176 amba { 177 clcd@10120000 { 178 status = "okay"; 179 pinctrl-names = "defau 180 pinctrl-0 = <&clcd_24b 181 port { 182 nomadik_clcd: 183 remote 184 arm,pl 185 }; 186 }; 187 188 }; 189 190 /* Activate RX/TX and CTS/RTS 191 uart0: serial@101fd000 { 192 pinctrl-names = "defau 193 pinctrl-0 = <&uart0_nh 194 status = "okay"; 195 }; 196 mmcsd: mmc@101f6000 { 197 cd-gpios = <&stmpe_gpi 198 wp-gpios = <&stmpe_gpi 199 }; 200 }; 201 202 spi { 203 compatible = "spi-gpio"; 204 #address-cells = <1>; 205 #size-cells = <0>; 206 207 /* 208 * As we're dealing with 3wire 209 * and MOSI (in the spec MOSI 210 */ 211 sck-gpios = <&gpio0 5 GPIO_ACT 212 mosi-gpios = <&gpio0 4 GPIO_AC 213 cs-gpios = <&gpio0 6 GPIO_ACTI 214 num-chipselects = <1>; 215 216 /* 217 * WVGA connector 21 218 * WVGA (800x480): 4.3" TPG110 219 * with TPO touch screen. 220 */ 221 panel: display@0 { 222 /* 223 * The TPO display dri 224 * 5.7" OSD OSD057VA01 225 */ 226 compatible = "tpo,tpg1 227 reg = <0>; 228 spi-3wire; 229 /* 320 ns min period ~ 230 spi-max-frequency = <3 231 /* Width and height fr 232 width-mm = <116>; 233 height-mm = <87>; 234 grestb-gpios = <&stmpe 235 backlight = <&bl>; 236 237 port { 238 nomadik_clcd_p 239 remote 240 }; 241 }; 242 }; 243 }; 244 245 bl: backlight { 246 compatible = "pwm-backlight"; 247 pwms = <&stmpe0_pwm 0 500000>; 248 pwm-names = "backlight"; 249 brightness-levels = < 250 0 1 2 3 4 5 6 7 251 10 11 12 13 14 15 16 1 252 20 21 22 23 24 25 26 2 253 30 31 32 33 34 35 36 3 254 40 41 42 43 44 45 46 4 255 50 51 52 53 54 55 56 5 256 60 61 62 63 64 65 66 6 257 70 71 72 73 74 75 76 7 258 80 81 82 83 84 85 86 8 259 90 91 92 93 94 95 96 9 260 100 261 >; 262 default-brightness-level = <10 263 }; 264 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.