Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 
0004 #include "kirkwood.dtsi"
0005 #include "kirkwood-6281.dtsi"
0006 
0007 / {
0008         model = "Seagate FreeAgent Dockstar";
0009         compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0010 
0011         memory {
0012                 device_type = "memory";
0013                 reg = <0x00000000 0x8000000>;
0014         };
0015 
0016         chosen {
0017                 bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
0018                 stdout-path = &uart0;
0019         };
0020 
0021         ocp@f1000000 {
0022                 pinctrl: pin-controller@10000 {
0023                         pmx_usb_power_enable: pmx-usb-power-enable {
0024                                 marvell,pins = "mpp29";
0025                                 marvell,function = "gpio";
0026                         };
0027                         pmx_led_green: pmx-led-green {
0028                                 marvell,pins = "mpp46";
0029                                 marvell,function = "gpio";
0030                         };
0031                         pmx_led_orange: pmx-led-orange {
0032                                 marvell,pins = "mpp47";
0033                                 marvell,function = "gpio";
0034                         };
0035                 };
0036                 serial@12000 {
0037                         status = "okay";
0038                 };
0039         };
0040         gpio-leds {
0041                 compatible = "gpio-leds";
0042                 pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
0043                 pinctrl-names = "default";
0044 
0045                 health {
0046                         label = "status:green:health";
0047                         gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
0048                         default-state = "keep";
0049                 };
0050                 fault {
0051                         label = "status:orange:fault";
0052                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
0053                 };
0054         };
0055         regulators {
0056                 compatible = "simple-bus";
0057                 #address-cells = <1>;
0058                 #size-cells = <0>;
0059                 pinctrl-0 = <&pmx_usb_power_enable>;
0060                 pinctrl-names = "default";
0061 
0062                 usb_power: regulator@1 {
0063                         compatible = "regulator-fixed";
0064                         reg = <1>;
0065                         regulator-name = "USB Power";
0066                         regulator-min-microvolt = <5000000>;
0067                         regulator-max-microvolt = <5000000>;
0068                         enable-active-high;
0069                         regulator-always-on;
0070                         regulator-boot-on;
0071                         gpio = <&gpio0 29 0>;
0072                 };
0073         };
0074 };
0075 
0076 &nand {
0077         status = "okay";
0078 
0079         partition@0 {
0080                 label = "u-boot";
0081                 reg = <0x0000000 0x100000>;
0082                 read-only;
0083         };
0084 
0085         partition@100000 {
0086                 label = "uImage";
0087                 reg = <0x0100000 0x400000>;
0088         };
0089 
0090         partition@500000 {
0091                 label = "data";
0092                 reg = <0x0500000 0xfb00000>;
0093         };
0094 };
0095 
0096 &mdio {
0097         status = "okay";
0098 
0099         ethphy0: ethernet-phy@0 {
0100                 compatible = "marvell,88e1116";
0101                 reg = <0>;
0102         };
0103 };
0104 
0105 &eth0 {
0106         status = "okay";
0107         ethernet0-port@0 {
0108                 phy-handle = <&ethphy0>;
0109         };
0110 };