Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / kirkwood-openblocks_a6.dts
blob8ea430168ea54952cc9219df0e24817be577b5a9
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "kirkwood.dtsi"
5 #include "kirkwood-6282.dtsi"
7 / {
8         model = "Plat'Home OpenBlocksA6";
9         compatible = "plathome,openblocks-a6", "marvell,kirkwood-88f6283", "marvell,kirkwood";
11         memory {
12                 device_type = "memory";
13                 reg = <0x00000000 0x20000000>;
14         };
16         chosen {
17                 bootargs = "console=ttyS0,115200n8 earlyprintk";
18                 stdout-path = &uart0;
19         };
21         ocp@f1000000 {
22                 serial@12000 {
23                         status = "okay";
24                 };
26                 serial@12100 {
27                         status = "okay";
28                 };
30                 sata@80000 {
31                         nr-ports = <1>;
32                         status = "okay";
33                 };
35                 i2c@11100 {
36                         status = "okay";
38                         s35390a: s35390a@30 {
39                                 compatible = "sii,s35390a";
40                                 reg = <0x30>;
41                         };
42                 };
44                 pinctrl: pin-controller@10000 {
45                         pinctrl-0 = <&pmx_dip_switches>;
46                         pinctrl-names = "default";
48                         pmx_uart0: pmx-uart0 {
49                                 marvell,pins = "mpp10", "mpp11", "mpp15",
50                                         "mpp16";
51                                 marvell,function = "uart0";
52                         };
54                         pmx_uart1: pmx-uart1 {
55                                 marvell,pins = "mpp13", "mpp14", "mpp8",
56                                         "mpp9";
57                                 marvell,function = "uart1";
58                         };
60                         pmx_sysrst: pmx-sysrst {
61                                 marvell,pins = "mpp6";
62                                 marvell,function = "sysrst";
63                         };
65                         pmx_dip_switches: pmx-dip-switches {
66                                 marvell,pins = "mpp20", "mpp21", "mpp22", "mpp23";
67                                 marvell,function = "gpio";
68                         };
70                         pmx_gpio_header: pmx-gpio-header {
71                                 marvell,pins = "mpp24", "mpp25", "mpp26", "mpp27",
72                                                "mpp28", "mpp29", "mpp30", "mpp31";
73                                 marvell,function = "gpio";
74                         };
76                         pmx_gpio_init: pmx-init {
77                                 marvell,pins = "mpp38";
78                                 marvell,function = "gpio";
79                         };
81                         pmx_usb_oc: pmx-usb-oc {
82                                 marvell,pins = "mpp39";
83                                 marvell,function = "gpio";
84                         };
86                         pmx_leds: pmx-leds {
87                                 marvell,pins = "mpp41", "mpp42", "mpp43";
88                                 marvell,function = "gpio";
89                         };
90                 };
91         };
93         gpio-leds {
94                 compatible = "gpio-leds";
95                 pinctrl-0 = <&pmx_leds>;
96                 pinctrl-names = "default";
98                 led-red {
99                         label = "obsa6:red:stat";
100                         gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
101                 };
103                 led-green {
104                         label = "obsa6:green:stat";
105                         gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
106                 };
108                 led-yellow {
109                         label = "obsa6:yellow:stat";
110                         gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
111                 };
112         };
114         gpio_keys {
115                 compatible = "gpio-keys";
116                 pinctrl-0 = <&pmx_gpio_init>;
117                 pinctrl-names = "default";
118                 #address-cells = <1>;
119                 #size-cells = <0>;
121                 power {
122                         label = "Init Button";
123                         linux,code = <KEY_POWER>;
124                         gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
125                 };
126         };
129 &nand {
130         chip-delay = <25>;
131         status = "okay";
133         partition@0 {
134                 label = "uboot";
135                 reg = <0x0 0x90000>;
136         };
138         partition@90000 {
139                 label = "env";
140                 reg = <0x90000 0x44000>;
141         };
143         partition@d4000 {
144                 label = "test";
145                 reg = <0xd4000 0x20000>;
146         };
148         partition@f4000 {
149                 label = "conf";
150                 reg = <0xf4000 0x400000>;
151         };
153         partition@4f4000 {
154                 label = "linux";
155                 reg = <0x4f4000 0x1d20000>;
156         };
158         partition@2214000 {
159                 label = "user";
160                 reg = <0x2214000 0x1dec000>;
161         };
164 &mdio {
165         status = "okay";
167         ethphy0: ethernet-phy@0 {
168                 reg = <0>;
169         };
172 &eth0 {
173         status = "okay";
174         ethernet0-port@0 {
175                 phy-handle = <&ethphy0>;
176         };
179 &gpio0 {
180         status = "okay";
182         pinctrl-0 = <&pmx_gpio_header>;
183         pinctrl-names = "default";