1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Embedded Artists LPC3250 board 3 * Embedded Artists LPC3250 board 4 * 4 * 5 * Copyright 2012 Roland Stigge <stigge@antcom. 5 * Copyright 2012 Roland Stigge <stigge@antcom.de> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 #include "lpc32xx.dtsi" 9 #include "lpc32xx.dtsi" 10 10 11 / { 11 / { 12 model = "Embedded Artists LPC3250 boar 12 model = "Embedded Artists LPC3250 board based on NXP LPC3250"; 13 compatible = "ea,ea3250", "nxp,lpc3250 13 compatible = "ea,ea3250", "nxp,lpc3250"; 14 14 15 memory@80000000 { 15 memory@80000000 { 16 device_type = "memory"; 16 device_type = "memory"; 17 reg = <0x80000000 0x4000000>; 17 reg = <0x80000000 0x4000000>; 18 }; 18 }; 19 19 20 gpio-keys { 20 gpio-keys { 21 compatible = "gpio-keys"; 21 compatible = "gpio-keys"; 22 autorepeat; 22 autorepeat; 23 23 24 button { 24 button { 25 label = "Interrupt Key 25 label = "Interrupt Key"; 26 linux,code = <103>; 26 linux,code = <103>; 27 gpios = <&gpio 4 1 0>; 27 gpios = <&gpio 4 1 0>; /* GPI_P3 1 */ 28 }; 28 }; 29 29 30 key1 { 30 key1 { 31 label = "KEY1"; 31 label = "KEY1"; 32 linux,code = <1>; 32 linux,code = <1>; 33 gpios = <&pca9532 0 0> 33 gpios = <&pca9532 0 0>; 34 }; 34 }; 35 35 36 key2 { 36 key2 { 37 label = "KEY2"; 37 label = "KEY2"; 38 linux,code = <2>; 38 linux,code = <2>; 39 gpios = <&pca9532 1 0> 39 gpios = <&pca9532 1 0>; 40 }; 40 }; 41 41 42 key3 { 42 key3 { 43 label = "KEY3"; 43 label = "KEY3"; 44 linux,code = <3>; 44 linux,code = <3>; 45 gpios = <&pca9532 2 0> 45 gpios = <&pca9532 2 0>; 46 }; 46 }; 47 47 48 key4 { 48 key4 { 49 label = "KEY4"; 49 label = "KEY4"; 50 linux,code = <4>; 50 linux,code = <4>; 51 gpios = <&pca9532 3 0> 51 gpios = <&pca9532 3 0>; 52 }; 52 }; 53 53 54 joy0 { 54 joy0 { 55 label = "Joystick Key 55 label = "Joystick Key 0"; 56 linux,code = <10>; 56 linux,code = <10>; 57 gpios = <&gpio 2 0 0>; 57 gpios = <&gpio 2 0 0>; /* P2.0 */ 58 }; 58 }; 59 59 60 joy1 { 60 joy1 { 61 label = "Joystick Key 61 label = "Joystick Key 1"; 62 linux,code = <11>; 62 linux,code = <11>; 63 gpios = <&gpio 2 1 0>; 63 gpios = <&gpio 2 1 0>; /* P2.1 */ 64 }; 64 }; 65 65 66 joy2 { 66 joy2 { 67 label = "Joystick Key 67 label = "Joystick Key 2"; 68 linux,code = <12>; 68 linux,code = <12>; 69 gpios = <&gpio 2 2 0>; 69 gpios = <&gpio 2 2 0>; /* P2.2 */ 70 }; 70 }; 71 71 72 joy3 { 72 joy3 { 73 label = "Joystick Key 73 label = "Joystick Key 3"; 74 linux,code = <13>; 74 linux,code = <13>; 75 gpios = <&gpio 2 3 0>; 75 gpios = <&gpio 2 3 0>; /* P2.3 */ 76 }; 76 }; 77 77 78 joy4 { 78 joy4 { 79 label = "Joystick Key 79 label = "Joystick Key 4"; 80 linux,code = <14>; 80 linux,code = <14>; 81 gpios = <&gpio 2 4 0>; 81 gpios = <&gpio 2 4 0>; /* P2.4 */ 82 }; 82 }; 83 }; 83 }; 84 84 85 leds { 85 leds { 86 compatible = "gpio-leds"; 86 compatible = "gpio-leds"; 87 87 88 /* LEDs on OEM Board */ 88 /* LEDs on OEM Board */ 89 89 90 led1 { 90 led1 { 91 gpios = <&gpio 5 14 1> 91 gpios = <&gpio 5 14 1>; /* GPO_P3 14, GPIO 93, active low */ 92 linux,default-trigger 92 linux,default-trigger = "timer"; 93 default-state = "off"; 93 default-state = "off"; 94 }; 94 }; 95 95 96 led2 { 96 led2 { 97 gpios = <&gpio 2 10 1> 97 gpios = <&gpio 2 10 1>; /* P2.10, active low */ 98 default-state = "off"; 98 default-state = "off"; 99 }; 99 }; 100 100 101 led3 { 101 led3 { 102 gpios = <&gpio 2 11 1> 102 gpios = <&gpio 2 11 1>; /* P2.11, active low */ 103 default-state = "off"; 103 default-state = "off"; 104 }; 104 }; 105 105 106 led4 { 106 led4 { 107 gpios = <&gpio 2 12 1> 107 gpios = <&gpio 2 12 1>; /* P2.12, active low */ 108 default-state = "off"; 108 default-state = "off"; 109 }; 109 }; 110 110 111 /* LEDs on Base Board */ 111 /* LEDs on Base Board */ 112 112 113 lede1 { 113 lede1 { 114 gpios = <&pca9532 8 0> 114 gpios = <&pca9532 8 0>; 115 default-state = "off"; 115 default-state = "off"; 116 }; 116 }; 117 lede2 { 117 lede2 { 118 gpios = <&pca9532 9 0> 118 gpios = <&pca9532 9 0>; 119 default-state = "off"; 119 default-state = "off"; 120 }; 120 }; 121 lede3 { 121 lede3 { 122 gpios = <&pca9532 10 0 122 gpios = <&pca9532 10 0>; 123 default-state = "off"; 123 default-state = "off"; 124 }; 124 }; 125 lede4 { 125 lede4 { 126 gpios = <&pca9532 11 0 126 gpios = <&pca9532 11 0>; 127 default-state = "off"; 127 default-state = "off"; 128 }; 128 }; 129 lede5 { 129 lede5 { 130 gpios = <&pca9532 12 0 130 gpios = <&pca9532 12 0>; 131 default-state = "off"; 131 default-state = "off"; 132 }; 132 }; 133 lede6 { 133 lede6 { 134 gpios = <&pca9532 13 0 134 gpios = <&pca9532 13 0>; 135 default-state = "off"; 135 default-state = "off"; 136 }; 136 }; 137 lede7 { 137 lede7 { 138 gpios = <&pca9532 14 0 138 gpios = <&pca9532 14 0>; 139 default-state = "off"; 139 default-state = "off"; 140 }; 140 }; 141 lede8 { 141 lede8 { 142 gpios = <&pca9532 15 0 142 gpios = <&pca9532 15 0>; 143 default-state = "off"; 143 default-state = "off"; 144 }; 144 }; 145 }; 145 }; 146 }; 146 }; 147 147 148 /* 3-axis accelerometer X,Y,Z (or AD-IN instea 148 /* 3-axis accelerometer X,Y,Z (or AD-IN instead of Z) */ 149 &adc { 149 &adc { 150 status = "okay"; 150 status = "okay"; 151 }; 151 }; 152 152 153 &i2c1 { 153 &i2c1 { 154 clock-frequency = <100000>; 154 clock-frequency = <100000>; 155 155 156 uda1380: uda1380@18 { 156 uda1380: uda1380@18 { 157 compatible = "nxp,uda1380"; 157 compatible = "nxp,uda1380"; 158 reg = <0x18>; 158 reg = <0x18>; 159 power-gpio = <&gpio 3 10 0>; 159 power-gpio = <&gpio 3 10 0>; 160 reset-gpio = <&gpio 3 2 0>; 160 reset-gpio = <&gpio 3 2 0>; 161 dac-clk = "wspll"; 161 dac-clk = "wspll"; 162 }; 162 }; 163 163 164 eeprom@50 { 164 eeprom@50 { 165 compatible = "atmel,24c256"; 165 compatible = "atmel,24c256"; 166 reg = <0x50>; 166 reg = <0x50>; 167 }; 167 }; 168 168 169 eeprom@57 { 169 eeprom@57 { 170 compatible = "atmel,24c64"; 170 compatible = "atmel,24c64"; 171 reg = <0x57>; 171 reg = <0x57>; 172 }; 172 }; 173 173 174 pca9532: pca9532@60 { 174 pca9532: pca9532@60 { 175 compatible = "nxp,pca9532"; 175 compatible = "nxp,pca9532"; 176 gpio-controller; 176 gpio-controller; 177 #gpio-cells = <2>; 177 #gpio-cells = <2>; 178 reg = <0x60>; 178 reg = <0x60>; 179 }; 179 }; 180 }; 180 }; 181 181 182 &i2c2 { 182 &i2c2 { 183 clock-frequency = <100000>; 183 clock-frequency = <100000>; 184 }; 184 }; 185 185 186 &i2cusb { 186 &i2cusb { 187 clock-frequency = <100000>; 187 clock-frequency = <100000>; 188 188 189 isp1301: usb-transceiver@2d { 189 isp1301: usb-transceiver@2d { 190 compatible = "nxp,isp1301"; 190 compatible = "nxp,isp1301"; 191 reg = <0x2d>; 191 reg = <0x2d>; 192 }; 192 }; 193 }; 193 }; 194 194 195 &mac { 195 &mac { 196 phy-mode = "rmii"; 196 phy-mode = "rmii"; 197 use-iram; 197 use-iram; 198 status = "okay"; 198 status = "okay"; 199 }; 199 }; 200 200 201 /* Here, choose exactly one from: ohci, usbd * 201 /* Here, choose exactly one from: ohci, usbd */ 202 &ohci /* &usbd */ { 202 &ohci /* &usbd */ { 203 transceiver = <&isp1301>; 203 transceiver = <&isp1301>; 204 status = "okay"; 204 status = "okay"; 205 }; 205 }; 206 206 207 &sd { 207 &sd { 208 wp-gpios = <&pca9532 5 0>; 208 wp-gpios = <&pca9532 5 0>; 209 cd-gpios = <&pca9532 4 0>; 209 cd-gpios = <&pca9532 4 0>; 210 cd-inverted; 210 cd-inverted; 211 bus-width = <4>; 211 bus-width = <4>; 212 status = "okay"; 212 status = "okay"; 213 }; 213 }; 214 214 215 /* 128MB Flash via SLC NAND controller */ 215 /* 128MB Flash via SLC NAND controller */ 216 &slc { 216 &slc { 217 status = "okay"; 217 status = "okay"; 218 218 219 nxp,wdr-clks = <14>; 219 nxp,wdr-clks = <14>; 220 nxp,wwidth = <260000000>; 220 nxp,wwidth = <260000000>; 221 nxp,whold = <104000000>; 221 nxp,whold = <104000000>; 222 nxp,wsetup = <200000000>; 222 nxp,wsetup = <200000000>; 223 nxp,rdr-clks = <14>; 223 nxp,rdr-clks = <14>; 224 nxp,rwidth = <34666666>; 224 nxp,rwidth = <34666666>; 225 nxp,rhold = <104000000>; 225 nxp,rhold = <104000000>; 226 nxp,rsetup = <200000000>; 226 nxp,rsetup = <200000000>; 227 nand-on-flash-bbt; 227 nand-on-flash-bbt; 228 gpios = <&gpio 5 19 1>; /* GPO_P3 19, 228 gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */ 229 229 230 partitions { 230 partitions { 231 compatible = "fixed-partitions 231 compatible = "fixed-partitions"; 232 #address-cells = <1>; 232 #address-cells = <1>; 233 #size-cells = <1>; 233 #size-cells = <1>; 234 234 235 mtd0@0 { 235 mtd0@0 { 236 label = "ea3250-boot"; 236 label = "ea3250-boot"; 237 reg = <0x00000000 0x00 237 reg = <0x00000000 0x00080000>; 238 read-only; 238 read-only; 239 }; 239 }; 240 240 241 mtd1@80000 { 241 mtd1@80000 { 242 label = "ea3250-uboot" 242 label = "ea3250-uboot"; 243 reg = <0x00080000 0x00 243 reg = <0x00080000 0x000c0000>; 244 read-only; 244 read-only; 245 }; 245 }; 246 246 247 mtd2@140000 { 247 mtd2@140000 { 248 label = "ea3250-kernel 248 label = "ea3250-kernel"; 249 reg = <0x00140000 0x00 249 reg = <0x00140000 0x00400000>; 250 }; 250 }; 251 251 252 mtd3@540000 { 252 mtd3@540000 { 253 label = "ea3250-rootfs 253 label = "ea3250-rootfs"; 254 reg = <0x00540000 0x07 254 reg = <0x00540000 0x07ac0000>; 255 }; 255 }; 256 }; 256 }; 257 }; 257 }; 258 258 259 &uart1 { 259 &uart1 { 260 status = "okay"; 260 status = "okay"; 261 }; 261 }; 262 262 263 &uart3 { 263 &uart3 { 264 status = "okay"; 264 status = "okay"; 265 }; 265 }; 266 266 267 &uart5 { 267 &uart5 { 268 status = "okay"; 268 status = "okay"; 269 }; 269 }; 270 270 271 &uart6 { 271 &uart6 { 272 status = "okay"; 272 status = "okay"; 273 }; 273 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.