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 = "Globalscale Technologies Guruplug Server Plus";
0009         compatible = "globalscale,guruplug-server-plus", "globalscale,guruplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0010 
0011         memory {
0012                 device_type = "memory";
0013                 reg = <0x00000000 0x20000000>;
0014         };
0015 
0016         chosen {
0017                 bootargs = "console=ttyS0,115200n8 earlyprintk";
0018                 stdout-path = &uart0;
0019         };
0020 
0021         ocp@f1000000 {
0022                 pinctrl: pin-controller@10000 {
0023                         pmx_led_health_r: pmx-led-health-r {
0024                                 marvell,pins = "mpp46";
0025                                 marvell,function = "gpio";
0026                         };
0027                         pmx_led_health_g: pmx-led-health-g {
0028                                 marvell,pins = "mpp47";
0029                                 marvell,function = "gpio";
0030                         };
0031                         pmx_led_wmode_r: pmx-led-wmode-r {
0032                                 marvell,pins = "mpp48";
0033                                 marvell,function = "gpio";
0034                         };
0035                         pmx_led_wmode_g: pmx-led-wmode-g {
0036                                 marvell,pins = "mpp49";
0037                                 marvell,function = "gpio";
0038                         };
0039                 };
0040                 serial@12000 {
0041                         status = "okay";
0042                 };
0043 
0044                 sata@80000 {
0045                         status = "okay";
0046                         nr-ports = <1>;
0047                 };
0048 
0049                 /* AzureWave AW-GH381 WiFi/BT */
0050                 mvsdio@90000 {
0051                         status = "okay";
0052                         non-removable;
0053                 };
0054         };
0055 
0056         gpio-leds {
0057                 compatible = "gpio-leds";
0058                 pinctrl-0 = < &pmx_led_health_r &pmx_led_health_g
0059                               &pmx_led_wmode_r &pmx_led_wmode_g >;
0060                 pinctrl-names = "default";
0061 
0062                 health-r {
0063                         label = "guruplug:red:health";
0064                         gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
0065                 };
0066                 health-g {
0067                         label = "guruplug:green:health";
0068                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
0069                 };
0070                 wmode-r {
0071                         label = "guruplug:red:wmode";
0072                         gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
0073                 };
0074                 wmode-g {
0075                         label = "guruplug:green:wmode";
0076                         gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
0077                 };
0078         };
0079 };
0080 
0081 &nand {
0082         status = "okay";
0083 
0084         partition@0 {
0085                 label = "u-boot";
0086                 reg = <0x00000000 0x00100000>;
0087                 read-only;
0088         };
0089 
0090         partition@100000 {
0091                 label = "uImage";
0092                 reg = <0x00100000 0x00400000>;
0093         };
0094 
0095         partition@500000 {
0096                 label = "data";
0097                 reg = <0x00500000 0x1fb00000>;
0098         };
0099 };
0100 
0101 &mdio {
0102         status = "okay";
0103 
0104         ethphy0: ethernet-phy@0 {
0105                 /* Marvell 88E1121R */
0106                 compatible = "ethernet-phy-id0141.0cb0",
0107                              "ethernet-phy-ieee802.3-c22";
0108                 reg = <0>;
0109         };
0110 
0111         ethphy1: ethernet-phy@1 {
0112                 /* Marvell 88E1121R */
0113                 compatible = "ethernet-phy-id0141.0cb0",
0114                              "ethernet-phy-ieee802.3-c22";
0115                 reg = <1>;
0116         };
0117 };
0118 
0119 &eth0 {
0120         status = "okay";
0121         ethernet0-port@0 {
0122                 phy-handle = <&ethphy0>;
0123                 phy-connection-type = "rgmii-id";
0124         };
0125 };
0126 
0127 &eth1 {
0128         status = "okay";
0129         ethernet1-port@0 {
0130                 phy-handle = <&ethphy1>;
0131                 phy-connection-type = "rgmii-id";
0132         };
0133 };