xref: /linux/scripts/dtc/include-prefixes/arm/marvell/kirkwood-dockstar.dts (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring
4724ba675SRob Herring#include "kirkwood.dtsi"
5724ba675SRob Herring#include "kirkwood-6281.dtsi"
6724ba675SRob Herring
7724ba675SRob Herring/ {
8724ba675SRob Herring	model = "Seagate FreeAgent Dockstar";
9724ba675SRob Herring	compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10724ba675SRob Herring
11724ba675SRob Herring	memory {
12724ba675SRob Herring		device_type = "memory";
13724ba675SRob Herring		reg = <0x00000000 0x8000000>;
14724ba675SRob Herring	};
15724ba675SRob Herring
16724ba675SRob Herring	chosen {
17724ba675SRob Herring		bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
18724ba675SRob Herring		stdout-path = &uart0;
19724ba675SRob Herring	};
20724ba675SRob Herring
21724ba675SRob Herring	ocp@f1000000 {
22724ba675SRob Herring		pinctrl: pin-controller@10000 {
23724ba675SRob Herring			pmx_usb_power_enable: pmx-usb-power-enable {
24724ba675SRob Herring				marvell,pins = "mpp29";
25724ba675SRob Herring				marvell,function = "gpio";
26724ba675SRob Herring			};
27724ba675SRob Herring			pmx_led_green: pmx-led-green {
28724ba675SRob Herring				marvell,pins = "mpp46";
29724ba675SRob Herring				marvell,function = "gpio";
30724ba675SRob Herring			};
31724ba675SRob Herring			pmx_led_orange: pmx-led-orange {
32724ba675SRob Herring				marvell,pins = "mpp47";
33724ba675SRob Herring				marvell,function = "gpio";
34724ba675SRob Herring			};
35724ba675SRob Herring		};
36724ba675SRob Herring		serial@12000 {
37724ba675SRob Herring			status = "okay";
38724ba675SRob Herring		};
39724ba675SRob Herring	};
40724ba675SRob Herring	gpio-leds {
41724ba675SRob Herring		compatible = "gpio-leds";
42724ba675SRob Herring		pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
43724ba675SRob Herring		pinctrl-names = "default";
44724ba675SRob Herring
45*9d0120b7SKrzysztof Kozlowski		led-health {
46724ba675SRob Herring			label = "status:green:health";
47724ba675SRob Herring			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
48724ba675SRob Herring			default-state = "keep";
49724ba675SRob Herring		};
50*9d0120b7SKrzysztof Kozlowski		led-fault {
51724ba675SRob Herring			label = "status:orange:fault";
52724ba675SRob Herring			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
53724ba675SRob Herring		};
54724ba675SRob Herring	};
55724ba675SRob Herring	regulators {
56724ba675SRob Herring		compatible = "simple-bus";
57724ba675SRob Herring		#address-cells = <1>;
58724ba675SRob Herring		#size-cells = <0>;
59724ba675SRob Herring		pinctrl-0 = <&pmx_usb_power_enable>;
60724ba675SRob Herring		pinctrl-names = "default";
61724ba675SRob Herring
62724ba675SRob Herring		usb_power: regulator@1 {
63724ba675SRob Herring			compatible = "regulator-fixed";
64724ba675SRob Herring			reg = <1>;
65724ba675SRob Herring			regulator-name = "USB Power";
66724ba675SRob Herring			regulator-min-microvolt = <5000000>;
67724ba675SRob Herring			regulator-max-microvolt = <5000000>;
68724ba675SRob Herring			enable-active-high;
69724ba675SRob Herring			regulator-always-on;
70724ba675SRob Herring			regulator-boot-on;
71724ba675SRob Herring			gpio = <&gpio0 29 0>;
72724ba675SRob Herring		};
73724ba675SRob Herring	};
74724ba675SRob Herring};
75724ba675SRob Herring
76724ba675SRob Herring&nand {
77724ba675SRob Herring	status = "okay";
78724ba675SRob Herring
79724ba675SRob Herring	partition@0 {
80724ba675SRob Herring		label = "u-boot";
81724ba675SRob Herring		reg = <0x0000000 0x100000>;
82724ba675SRob Herring		read-only;
83724ba675SRob Herring	};
84724ba675SRob Herring
85724ba675SRob Herring	partition@100000 {
86724ba675SRob Herring		label = "uImage";
87724ba675SRob Herring		reg = <0x0100000 0x400000>;
88724ba675SRob Herring	};
89724ba675SRob Herring
90724ba675SRob Herring	partition@500000 {
91724ba675SRob Herring		label = "data";
92724ba675SRob Herring		reg = <0x0500000 0xfb00000>;
93724ba675SRob Herring	};
94724ba675SRob Herring};
95724ba675SRob Herring
96724ba675SRob Herring&mdio {
97724ba675SRob Herring	status = "okay";
98724ba675SRob Herring
99724ba675SRob Herring	ethphy0: ethernet-phy@0 {
100724ba675SRob Herring		compatible = "marvell,88e1116";
101724ba675SRob Herring		reg = <0>;
102724ba675SRob Herring	};
103724ba675SRob Herring};
104724ba675SRob Herring
105724ba675SRob Herring&eth0 {
106724ba675SRob Herring	status = "okay";
107724ba675SRob Herring	ethernet0-port@0 {
108724ba675SRob Herring		phy-handle = <&ethphy0>;
109724ba675SRob Herring	};
110724ba675SRob Herring};
111