1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
9 /* Will be overridden by bootloader */
13 bootargs = "root=ubi0:RootFS rootfstype=ubifs rw ubi.mtd=3";
14 stdout-path = &ffuart;
18 device_type = "memory";
19 reg = <0xa0000000 0x8000000>; /* 128 MB */
22 reg_3v3: regulator-3v3 {
23 compatible = "regulator-fixed";
24 regulator-name = "3v3-fixed-supply";
25 regulator-min-microvolt = <3300000>;
26 regulator-max-microvolt = <3300000>;
30 reg_1v8: regulator-1v8 {
31 compatible = "regulator-fixed";
32 regulator-name = "1v8-fixed-supply";
33 regulator-min-microvolt = <1800000>;
34 regulator-max-microvolt = <1800000>;
38 reg_va_5v0: regulator-va-5v0 {
39 compatible = "regulator-fixed";
40 regulator-name = "va-5v0-fixed-supply";
41 regulator-min-microvolt = <5000000>;
42 regulator-max-microvolt = <5000000>;
43 gpio = <&gpio 124 GPIO_ACTIVE_HIGH>;
48 compatible = "mrvl,pxa-ssp-dai";
49 pinctrl-names = "default";
50 pinctrl-0 = <&ssp0_dai_pins>;
52 #sound-dai-cells = <0>;
55 dma-names = "rx", "tx";
56 clock-names = "extclk";
60 compatible = "mrvl,pxa-ssp-dai";
61 pinctrl-names = "default";
62 pinctrl-0 = <&ssp1_dai_pins>;
64 #sound-dai-cells = <0>;
67 dma-names = "rx", "tx";
68 clock-names = "extclk";
72 compatible = "spi-gpio";
73 #address-cells = <0x1>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&spi_pins>;
77 gpio-sck = <&gpio 95 GPIO_ACTIVE_HIGH>;
78 gpio-miso = <&gpio 98 GPIO_ACTIVE_HIGH>;
79 gpio-mosi = <&gpio 97 GPIO_ACTIVE_HIGH>;
81 &gpio 34 GPIO_ACTIVE_HIGH
82 &gpio 125 GPIO_ACTIVE_HIGH
83 &gpio 96 GPIO_ACTIVE_HIGH
85 num-chipselects = <3>;
88 compatible = "ti,dac7512";
90 spi-max-frequency = <1000000>;
91 vcc-supply = <®_3v3>;
96 compatible = "gpio-keys";
97 pinctrl-names = "default";
98 pinctrl-0 = <&gpio_keys_pins>;
101 label = "on_off button";
102 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
103 linux,code = <KEY_F6>;
107 label = "rescue boot button";
108 gpios = <&gpio 115 GPIO_ACTIVE_HIGH>;
109 linux,code = <KEY_F4>;
114 gpios = <&gpio 119 GPIO_ACTIVE_HIGH>;
115 linux,code = <KEY_F3>;
119 rotary: rotary-encoder {
120 compatible = "rotary-encoder";
122 &gpio 19 GPIO_ACTIVE_LOW
123 &gpio 20 GPIO_ACTIVE_HIGH
125 linux,axis = <REL_X>;
126 rotary-encoder,relative-axis;
130 compatible = "gpio-leds";
131 pinctrl-names = "default";
132 pinctrl-0 = <&led_pins_a &led_pins_b>;
135 label = "raumfeld:1";
136 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
140 label = "raumfeld:2";
141 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
146 compatible = "gpio-poweroff";
147 pinctrl-names = "default";
148 pinctrl-0 = <&poweroff_pins>;
149 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
152 mmc0_pwrseq: mmc-pwrseq {
153 compatible = "mmc-pwrseq-simple";
154 pinctrl-names = "default";
155 pinctrl-0 = <&mmc0_pwrseq_pins>;
157 &gpio 113 GPIO_ACTIVE_LOW /* W2W_RESET */
158 &gpio 114 GPIO_ACTIVE_LOW /* W2W_PDN */
162 ethernet: ethernet@10000000 {
163 compatible = "smsc,lan9115";
164 pinctrl-names = "default";
165 pinctrl-0 = <&smsc_pins &smsc_bus_pins>;
166 reg = <0x10000000 0x100000>;
168 interrupt-parent = <&gpio>;
169 interrupts = <40 IRQ_TYPE_EDGE_FALLING>;
170 vdd33a-supply = <®_3v3>;
171 vddvario-supply = <®_1v8>;
172 reset-gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
174 smsc,save-mac-address;
186 max8660: regulator@34 {
187 compatible = "maxim,max8660";
192 regulator-compatible= "V3(DCDC)";
193 regulator-min-microvolt = <725000>;
194 regulator-max-microvolt = <1800000>;
198 regulator-compatible= "V4(DCDC)";
199 regulator-min-microvolt = <725000>;
200 regulator-max-microvolt = <1800000>;
204 regulator-compatible= "V5(LDO)";
205 regulator-min-microvolt = <1700000>;
206 regulator-max-microvolt = <2000000>;
209 reg_vcc_sdio: regulator-v6 {
210 regulator-compatible= "V6(LDO)";
211 regulator-min-microvolt = <3300000>;
212 regulator-max-microvolt = <3300000>;
216 regulator-compatible= "V7(LDO)";
217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <3300000>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&pxai2c1_pins>;
245 nand-ecc-mode = "hw";
246 marvell,nand-keep-config;
249 compatible = "fixed-partitions";
250 #address-cells = <1>;
254 label = "Bootloader";
255 reg = <0x0000000 0xa0000>;
260 label = "BootloaderEnvironment";
261 reg = <0x0a0000 0x20000>;
265 label = "BootloaderSplashScreen";
266 reg = <0x0c0000 0x60000>;
271 reg = <0x120000 0x7ee0000>;
279 marvell,enable-port1;
280 marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */
281 pinctrl-names = "default";
282 pinctrl-0 = <&pxa3xx_ohci_pins>;
287 pinctrl-names = "default";
288 pinctrl-0 = <&mmc0_pins>;
289 pxa-mmc,detect-delay-ms = <200>;
290 vmmc-supply = <®_vcc_sdio>;
291 mmc-pwrseq = <&mmc0_pwrseq>;
297 poweroff_pins: poweroff-pins {
298 pinctrl-single,pins = <MFP_PIN_PXA300(16) MFP_AF0>;
299 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_FLOAT);
302 led_pins_a: led-pins-a {
303 pinctrl-single,pins = <MFP_PIN_PXA300(35) MFP_AF0>;
304 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);
307 led_pins_b: led-pins-b {
308 pinctrl-single,pins = <MFP_PIN_PXA300(36) MFP_AF0>;
309 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_DRIVE_HIGH);
312 pxai2c1_pins: pxai2c1-pins {
313 pinctrl-single,pins = <
314 MFP_PIN_PXA300(21) MFP_AF1 /* I2C_SCL */
315 MFP_PIN_PXA300(22) MFP_AF1 /* I2C_SDA */
317 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_HIGH);
320 gpio_keys_pins: gpio-keys-pins {
321 pinctrl-single,pins = <
322 MFP_PIN_PXA300(14) MFP_AF0 /* SCK */
323 MFP_PIN_PXA300(115) MFP_AF0 /* MOSI */
324 MFP_PIN_PXA300(119) MFP_AF0 /* MISO */
326 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_FLOAT);
330 pinctrl-single,pins = <
331 MFP_PIN_PXA300(95) MFP_AF0 /* SCK */
332 MFP_PIN_PXA300(97) MFP_AF0 /* MOSI */
333 MFP_PIN_PXA300(98) MFP_AF0 /* MISO */
334 MFP_PIN_PXA300(34) MFP_AF0 /* CS#0 */
335 MFP_PIN_PXA300(125) MFP_AF0 /* CS#1 */
336 MFP_PIN_PXA300(96) MFP_AF0 /* CS#2 */
338 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);
341 pxa3xx_ohci_pins: pxa3xx-ohci-pins {
342 pinctrl-single,pins = <
343 MFP_PIN_PXA300_2(0) MFP_AF1 /* USBHPEN */
344 MFP_PIN_PXA300_2(1) MFP_AF1 /* USBHPWR */
346 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);
349 smsc_pins: smsc-pins {
350 pinctrl-single,pins = <
351 MFP_PIN_PXA300(39) MFP_AF0 /* RESET */
352 MFP_PIN_PXA300(40) MFP_AF0 /* IRQ */
354 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);
357 smsc_bus_pins: smsc-bus-pins {
358 pinctrl-single,pins = <
359 MFP_PIN_PXA300(1) MFP_AF1 /* nCS2 */
361 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_FLOAT);
364 mmc0_pins: mmc0-pins {
365 pinctrl-single,pins = <
366 MFP_PIN_PXA300(3) MFP_AF4 /* MMC1_DAT0 */
367 MFP_PIN_PXA300(4) MFP_AF4 /* MMC1_DAT1 */
368 MFP_PIN_PXA300(5) MFP_AF4 /* MMC1_DAT2 */
369 MFP_PIN_PXA300(6) MFP_AF4 /* MMC1_DAT3 */
370 MFP_PIN_PXA300(7) MFP_AF4 /* MMC1_CLK */
371 MFP_PIN_PXA300(8) MFP_AF4 /* MMC1_CMD */
373 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_DRIVE_HIGH);
376 mmc0_pwrseq_pins: mmc0-pwrseq-pins {
377 pinctrl-single,pins = <
378 MFP_PIN_PXA300(113) MFP_AF0 /* W2W_RESET */
379 MFP_PIN_PXA300(114) MFP_AF0 /* W2W_PDN */
381 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_FLOAT);
384 ssp0_dai_pins: ssp0-dai-pins {
385 pinctrl-single,pins = <
386 MFP_PIN_PXA300(85) MFP_AF1 /* SSP1_SCLK */
387 MFP_PIN_PXA300(86) MFP_AF1 /* SSP1_FRM */
388 MFP_PIN_PXA300(87) MFP_AF1 /* SSP1_TXD */
389 MFP_PIN_PXA300(88) MFP_AF1 /* SSP1_RXD */
390 MFP_PIN_PXA300(89) MFP_AF1 /* SSP1_EXTCLK */
391 MFP_PIN_PXA300(90) MFP_AF1 /* SSP1_SYSCLK */
393 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);
396 ssp1_dai_pins: ssp1-dai-pins {
397 pinctrl-single,pins = <
398 MFP_PIN_PXA300(25) MFP_AF2 /* SSP2_SCLK */
399 MFP_PIN_PXA300(26) MFP_AF2 /* SSP2_FRM */
400 MFP_PIN_PXA300(27) MFP_AF2 /* SSP2_TXD */
401 MFP_PIN_PXA300(29) MFP_AF2 /* SSP2_EXTCLK */
403 pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW);