Commit | Line | Data |
---|---|---|
ee514b38 | 1 | /* |
14079011 | 2 | * kirkwood-sheevaplug-common.dtsi - Common parts for Sheevaplugs |
ee514b38 SB |
3 | * |
4 | * Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com> | |
5 | * | |
6 | * Licensed under GPLv2 | |
7 | */ | |
8 | ||
0ab6129c EG |
9 | #include "kirkwood.dtsi" |
10 | #include "kirkwood-6281.dtsi" | |
ee514b38 SB |
11 | |
12 | / { | |
13 | memory { | |
14 | device_type = "memory"; | |
15 | reg = <0x00000000 0x20000000>; | |
16 | }; | |
17 | ||
18 | chosen { | |
19 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | |
ab833614 | 20 | stdout-path = &uart0; |
ee514b38 SB |
21 | }; |
22 | ||
23 | ocp@f1000000 { | |
a9483969 | 24 | pinctrl: pin-controller@10000 { |
ee514b38 SB |
25 | |
26 | pmx_usb_power_enable: pmx-usb-power-enable { | |
27 | marvell,pins = "mpp29"; | |
28 | marvell,function = "gpio"; | |
29 | }; | |
30 | pmx_led_red: pmx-led-red { | |
31 | marvell,pins = "mpp46"; | |
32 | marvell,function = "gpio"; | |
33 | }; | |
34 | pmx_led_blue: pmx-led-blue { | |
35 | marvell,pins = "mpp49"; | |
36 | marvell,function = "gpio"; | |
37 | }; | |
38 | pmx_sdio_cd: pmx-sdio-cd { | |
39 | marvell,pins = "mpp44"; | |
40 | marvell,function = "gpio"; | |
41 | }; | |
42 | pmx_sdio_wp: pmx-sdio-wp { | |
43 | marvell,pins = "mpp47"; | |
44 | marvell,function = "gpio"; | |
45 | }; | |
46 | }; | |
47 | serial@12000 { | |
a649277e SB |
48 | pinctrl-0 = <&pmx_uart0>; |
49 | pinctrl-names = "default"; | |
ee514b38 SB |
50 | status = "okay"; |
51 | }; | |
ee514b38 SB |
52 | }; |
53 | ||
54 | regulators { | |
55 | compatible = "simple-bus"; | |
56 | #address-cells = <1>; | |
57 | #size-cells = <0>; | |
a649277e SB |
58 | pinctrl-0 = <&pmx_usb_power_enable>; |
59 | pinctrl-names = "default"; | |
ee514b38 SB |
60 | |
61 | usb_power: regulator@1 { | |
62 | compatible = "regulator-fixed"; | |
63 | reg = <1>; | |
64 | regulator-name = "USB Power"; | |
65 | regulator-min-microvolt = <5000000>; | |
66 | regulator-max-microvolt = <5000000>; | |
67 | enable-active-high; | |
68 | regulator-always-on; | |
69 | regulator-boot-on; | |
70 | gpio = <&gpio0 29 0>; | |
71 | }; | |
72 | }; | |
ee514b38 | 73 | }; |
876e2333 | 74 | |
7045ff5a JG |
75 | &nand { |
76 | pinctrl-0 = <&pmx_nand>; | |
77 | pinctrl-names = "default"; | |
78 | status = "okay"; | |
79 | ||
80 | partition@0 { | |
81 | label = "u-boot"; | |
82 | reg = <0x0000000 0x100000>; | |
83 | }; | |
84 | ||
85 | partition@100000 { | |
86 | label = "uImage"; | |
87 | reg = <0x0100000 0x400000>; | |
88 | }; | |
89 | ||
90 | partition@500000 { | |
91 | label = "root"; | |
92 | reg = <0x0500000 0x1fb00000>; | |
93 | }; | |
94 | }; | |
95 | ||
876e2333 SH |
96 | &mdio { |
97 | status = "okay"; | |
98 | ||
99 | ethphy0: ethernet-phy@0 { | |
876e2333 SH |
100 | reg = <0>; |
101 | }; | |
102 | }; | |
103 | ||
104 | ð0 { | |
105 | status = "okay"; | |
106 | ethernet0-port@0 { | |
107 | phy-handle = <ðphy0>; | |
108 | }; | |
109 | }; |