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 GoFlex Net";
0009         compatible = "seagate,goflexnet", "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_right_cap_0: pmx-led_right_cap_0 {
0028                                 marvell,pins = "mpp38";
0029                                 marvell,function = "gpio";
0030                         };
0031                         pmx_led_right_cap_1: pmx-led_right_cap_1 {
0032                                 marvell,pins = "mpp39";
0033                                 marvell,function = "gpio";
0034                         };
0035                         pmx_led_right_cap_2: pmx-led_right_cap_2 {
0036                                 marvell,pins = "mpp40";
0037                                 marvell,function = "gpio";
0038                         };
0039                         pmx_led_right_cap_3: pmx-led_right_cap_3 {
0040                                 marvell,pins = "mpp41";
0041                                 marvell,function = "gpio";
0042                         };
0043                         pmx_led_left_cap_0: pmx-led_left_cap_0 {
0044                                 marvell,pins = "mpp42";
0045                                 marvell,function = "gpio";
0046                         };
0047                         pmx_led_left_cap_1: pmx-led_left_cap_1 {
0048                                 marvell,pins = "mpp43";
0049                                 marvell,function = "gpio";
0050                         };
0051                         pmx_led_left_cap_2: pmx-led_left_cap_2 {
0052                                 marvell,pins = "mpp44";
0053                                 marvell,function = "gpio";
0054                         };
0055                         pmx_led_left_cap_3: pmx-led_left_cap_3 {
0056                                 marvell,pins = "mpp45";
0057                                 marvell,function = "gpio";
0058                         };
0059                         pmx_led_green: pmx-led_green {
0060                                 marvell,pins = "mpp46";
0061                                 marvell,function = "gpio";
0062                         };
0063                         pmx_led_orange: pmx-led_orange {
0064                                 marvell,pins = "mpp47";
0065                                 marvell,function = "gpio";
0066                         };
0067                 };
0068                 serial@12000 {
0069                         status = "okay";
0070                 };
0071 
0072                 sata@80000 {
0073                         status = "okay";
0074                         nr-ports = <2>;
0075                 };
0076 
0077         };
0078         gpio-leds {
0079                 compatible = "gpio-leds";
0080                 pinctrl-0 = < &pmx_led_orange
0081                               &pmx_led_left_cap_0 &pmx_led_left_cap_1
0082                               &pmx_led_left_cap_2 &pmx_led_left_cap_3
0083                               &pmx_led_right_cap_0 &pmx_led_right_cap_1
0084                               &pmx_led_right_cap_2 &pmx_led_right_cap_3
0085                             >;
0086                 pinctrl-names = "default";
0087 
0088                 health {
0089                         label = "status:green:health";
0090                         gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
0091                         default-state = "keep";
0092                 };
0093                 fault {
0094                         label = "status:orange:fault";
0095                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
0096                 };
0097                 left0 {
0098                         label = "status:white:left0";
0099                         gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
0100                 };
0101                 left1 {
0102                         label = "status:white:left1";
0103                         gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
0104                 };
0105                 left2 {
0106                         label = "status:white:left2";
0107                         gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
0108                 };
0109                 left3 {
0110                         label = "status:white:left3";
0111                         gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
0112                 };
0113                 right0 {
0114                         label = "status:white:right0";
0115                         gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
0116                 };
0117                 right1 {
0118                         label = "status:white:right1";
0119                         gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
0120                 };
0121                 right2 {
0122                         label = "status:white:right2";
0123                         gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
0124                 };
0125                 right3 {
0126                         label = "status:white:right3";
0127                         gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
0128                 };
0129         };
0130         regulators {
0131                 compatible = "simple-bus";
0132                 #address-cells = <1>;
0133                 #size-cells = <0>;
0134                 pinctrl-0 = <&pmx_usb_power_enable>;
0135                 pinctrl-names = "default";
0136 
0137                 usb_power: regulator@1 {
0138                         compatible = "regulator-fixed";
0139                         reg = <1>;
0140                         regulator-name = "USB Power";
0141                         regulator-min-microvolt = <5000000>;
0142                         regulator-max-microvolt = <5000000>;
0143                         enable-active-high;
0144                         regulator-always-on;
0145                         regulator-boot-on;
0146                         gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
0147                 };
0148         };
0149 };
0150 
0151 &nand {
0152         chip-delay = <40>;
0153         status = "okay";
0154 
0155         partition@0 {
0156                 label = "u-boot";
0157                 reg = <0x0000000 0x100000>;
0158                 read-only;
0159         };
0160 
0161         partition@100000 {
0162                 label = "uImage";
0163                 reg = <0x0100000 0x400000>;
0164         };
0165 
0166         partition@500000 {
0167                 label = "pogoplug";
0168                 reg = <0x0500000 0x2000000>;
0169         };
0170 
0171         partition@2500000 {
0172                 label = "root";
0173                 reg = <0x02500000 0xd800000>;
0174         };
0175 };
0176 
0177 &mdio {
0178         status = "okay";
0179 
0180         ethphy0: ethernet-phy@0 {
0181                 reg = <0>;
0182         };
0183 };
0184 
0185 &eth0 {
0186         status = "okay";
0187         ethernet0-port@0 {
0188                 phy-handle = <&ethphy0>;
0189         };
0190 };