]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/kirkwood-ib62x0.dts
ARM: kirkwood: Move the nand node under the mbus node
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / kirkwood-ib62x0.dts
1 /dts-v1/;
2
3 #include "kirkwood.dtsi"
4 #include "kirkwood-6281.dtsi"
5
6 / {
7 model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
8 compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10 memory {
11 device_type = "memory";
12 reg = <0x00000000 0x10000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,115200n8 earlyprintk";
17 };
18
19 ocp@f1000000 {
20 pinctrl: pinctrl@10000 {
21 pmx_led_os_red: pmx-led-os-red {
22 marvell,pins = "mpp22";
23 marvell,function = "gpio";
24 };
25 pmx_power_off: pmx-power-off {
26 marvell,pins = "mpp24";
27 marvell,function = "gpio";
28 };
29 pmx_led_os_green: pmx-led-os-green {
30 marvell,pins = "mpp25";
31 marvell,function = "gpio";
32 };
33 pmx_led_usb_transfer: pmx-led-usb-transfer {
34 marvell,pins = "mpp27";
35 marvell,function = "gpio";
36 };
37 pmx_button_reset: pmx-button-reset {
38 marvell,pins = "mpp28";
39 marvell,function = "gpio";
40 };
41 pmx_button_usb_copy: pmx-button-usb-copy {
42 marvell,pins = "mpp29";
43 marvell,function = "gpio";
44 };
45 };
46 serial@12000 {
47 status = "okay";
48 };
49
50 sata@80000 {
51 status = "okay";
52 nr-ports = <2>;
53 };
54 };
55
56 gpio_keys {
57 compatible = "gpio-keys";
58 #address-cells = <1>;
59 #size-cells = <0>;
60 pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>;
61 pinctrl-names = "default";
62
63 button@1 {
64 label = "USB Copy";
65 linux,code = <133>;
66 gpios = <&gpio0 29 1>;
67 };
68 button@2 {
69 label = "Reset";
70 linux,code = <0x198>;
71 gpios = <&gpio0 28 1>;
72 };
73 };
74 gpio-leds {
75 compatible = "gpio-leds";
76 pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green
77 &pmx_led_usb_transfer>;
78 pinctrl-names = "default";
79
80 green-os {
81 label = "ib62x0:green:os";
82 gpios = <&gpio0 25 0>;
83 linux,default-trigger = "default-on";
84 };
85 red-os {
86 label = "ib62x0:red:os";
87 gpios = <&gpio0 22 0>;
88 };
89 usb-copy {
90 label = "ib62x0:red:usb_copy";
91 gpios = <&gpio0 27 0>;
92 };
93 };
94 gpio_poweroff {
95 compatible = "gpio-poweroff";
96 pinctrl-0 = <&pmx_power_off>;
97 pinctrl-names = "default";
98 gpios = <&gpio0 24 0>;
99 };
100
101
102 };
103
104 &nand {
105 status = "okay";
106 pinctrl-0 = <&pmx_nand>;
107 pinctrl-names = "default";
108
109 partition@0 {
110 label = "u-boot";
111 reg = <0x0000000 0x100000>;
112 };
113
114 partition@100000 {
115 label = "uImage";
116 reg = <0x0100000 0x600000>;
117 };
118
119 partition@700000 {
120 label = "root";
121 reg = <0x0700000 0xf900000>;
122 };
123
124 };
125
126 &mdio {
127 status = "okay";
128
129 ethphy0: ethernet-phy@8 {
130 device_type = "ethernet-phy";
131 reg = <8>;
132 };
133 };
134
135 &eth0 {
136 status = "okay";
137 ethernet0-port@0 {
138 phy-handle = <&ethphy0>;
139 };
140 };