]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm/boot/dts/kirkwood-dockstar.dts
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / kirkwood-dockstar.dts
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
2f865c35
SH
2/dts-v1/;
3
0ab6129c
EG
4#include "kirkwood.dtsi"
5#include "kirkwood-6281.dtsi"
2f865c35
SH
6
7/ {
8 model = "Seagate FreeAgent Dockstar";
9 compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10
11 memory {
12 device_type = "memory";
13 reg = <0x00000000 0x8000000>;
14 };
15
16 chosen {
17 bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
ab833614 18 stdout-path = &uart0;
2f865c35
SH
19 };
20
21 ocp@f1000000 {
a9483969 22 pinctrl: pin-controller@10000 {
1bf370a8
AL
23 pmx_usb_power_enable: pmx-usb-power-enable {
24 marvell,pins = "mpp29";
25 marvell,function = "gpio";
26 };
27 pmx_led_green: pmx-led-green {
28 marvell,pins = "mpp46";
29 marvell,function = "gpio";
30 };
31 pmx_led_orange: pmx-led-orange {
32 marvell,pins = "mpp47";
33 marvell,function = "gpio";
34 };
35 };
2f865c35 36 serial@12000 {
2f865c35
SH
37 status = "ok";
38 };
2f865c35
SH
39 };
40 gpio-leds {
41 compatible = "gpio-leds";
2d743922
TP
42 pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
43 pinctrl-names = "default";
2f865c35
SH
44
45 health {
46 label = "status:green:health";
3a31f2d7 47 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
dcdf14c7 48 default-state = "keep";
2f865c35
SH
49 };
50 fault {
51 label = "status:orange:fault";
3a31f2d7 52 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
2f865c35
SH
53 };
54 };
c3ff813a
AL
55 regulators {
56 compatible = "simple-bus";
57 #address-cells = <1>;
58 #size-cells = <0>;
2d743922
TP
59 pinctrl-0 = <&pmx_usb_power_enable>;
60 pinctrl-names = "default";
c3ff813a
AL
61
62 usb_power: regulator@1 {
63 compatible = "regulator-fixed";
64 reg = <1>;
65 regulator-name = "USB Power";
66 regulator-min-microvolt = <5000000>;
67 regulator-max-microvolt = <5000000>;
68 enable-active-high;
69 regulator-always-on;
70 regulator-boot-on;
71 gpio = <&gpio0 29 0>;
72 };
73 };
2f865c35 74};
876e2333 75
7045ff5a
JG
76&nand {
77 status = "okay";
78
79 partition@0 {
80 label = "u-boot";
81 reg = <0x0000000 0x100000>;
82 read-only;
83 };
84
85 partition@100000 {
86 label = "uImage";
87 reg = <0x0100000 0x400000>;
88 };
89
90 partition@500000 {
91 label = "data";
92 reg = <0x0500000 0xfb00000>;
93 };
94};
95
876e2333
SH
96&mdio {
97 status = "okay";
98
99 ethphy0: ethernet-phy@0 {
876e2333
SH
100 compatible = "marvell,88e1116";
101 reg = <0>;
102 };
103};
104
105&eth0 {
106 status = "okay";
107 ethernet0-port@0 {
108 phy-handle = <&ethphy0>;
109 };
110};