xref: /freebsd/sys/contrib/device-tree/src/arm/marvell/kirkwood-dockstar.dts (revision a90b9d0159070121c221b966469c3e36d912bf82)
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include "kirkwood.dtsi"
5#include "kirkwood-6281.dtsi"
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";
18		stdout-path = &uart0;
19	};
20
21	ocp@f1000000 {
22		pinctrl: pin-controller@10000 {
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		};
36		serial@12000 {
37			status = "okay";
38		};
39	};
40	gpio-leds {
41		compatible = "gpio-leds";
42		pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
43		pinctrl-names = "default";
44
45		health {
46			label = "status:green:health";
47			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
48			default-state = "keep";
49		};
50		fault {
51			label = "status:orange:fault";
52			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
53		};
54	};
55	regulators {
56		compatible = "simple-bus";
57		#address-cells = <1>;
58		#size-cells = <0>;
59		pinctrl-0 = <&pmx_usb_power_enable>;
60		pinctrl-names = "default";
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	};
74};
75
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
96&mdio {
97	status = "okay";
98
99	ethphy0: ethernet-phy@0 {
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};
111