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 Dreamplug";
0009         compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "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_bluetooth: pmx-led-bluetooth {
0024                                 marvell,pins = "mpp47";
0025                                 marvell,function = "gpio";
0026                         };
0027                         pmx_led_wifi: pmx-led-wifi {
0028                                 marvell,pins = "mpp48";
0029                                 marvell,function = "gpio";
0030                         };
0031                         pmx_led_wifi_ap: pmx-led-wifi-ap {
0032                                 marvell,pins = "mpp49";
0033                                 marvell,function = "gpio";
0034                         };
0035                 };
0036                 serial@12000 {
0037                         status = "okay";
0038                 };
0039 
0040                 spi@10600 {
0041                         status = "okay";
0042 
0043                         m25p40@0 {
0044                                 #address-cells = <1>;
0045                                 #size-cells = <1>;
0046                                 compatible = "mxicy,mx25l1606e", "jedec,spi-nor";
0047                                 reg = <0>;
0048                                 spi-max-frequency = <50000000>;
0049                                 mode = <0>;
0050 
0051                                 partition@0 {
0052                                         reg = <0x0 0x80000>;
0053                                         label = "u-boot";
0054                                 };
0055 
0056                                 partition@100000 {
0057                                         reg = <0x100000 0x10000>;
0058                                         label = "u-boot env";
0059                                 };
0060 
0061                                 partition@180000 {
0062                                         reg = <0x180000 0x10000>;
0063                                         label = "dtb";
0064                                 };
0065                         };
0066                 };
0067 
0068                 sata@80000 {
0069                         status = "okay";
0070                         nr-ports = <1>;
0071                 };
0072 
0073                 mvsdio@90000 {
0074                         pinctrl-0 = <&pmx_sdio>;
0075                         pinctrl-names = "default";
0076                         status = "okay";
0077                         /* No CD or WP GPIOs */
0078                         broken-cd;
0079                 };
0080         };
0081 
0082         gpio-leds {
0083                 compatible = "gpio-leds";
0084                 pinctrl-0 = <&pmx_led_bluetooth &pmx_led_wifi
0085                              &pmx_led_wifi_ap >;
0086                 pinctrl-names = "default";
0087 
0088                 bluetooth {
0089                         label = "dreamplug:blue:bluetooth";
0090                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
0091                 };
0092                 wifi {
0093                         label = "dreamplug:green:wifi";
0094                         gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
0095                 };
0096                 wifi-ap {
0097                         label = "dreamplug:green:wifi_ap";
0098                         gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
0099                 };
0100         };
0101 };
0102 
0103 &mdio {
0104         status = "okay";
0105 
0106         ethphy0: ethernet-phy@0 {
0107                 reg = <0>;
0108         };
0109 
0110         ethphy1: ethernet-phy@1 {
0111                 reg = <1>;
0112         };
0113 };
0114 
0115 &eth0 {
0116         status = "okay";
0117         ethernet0-port@0 {
0118                 phy-handle = <&ethphy0>;
0119         };
0120 };
0121 
0122 &eth1 {
0123         status = "okay";
0124         ethernet1-port@0 {
0125                 phy-handle = <&ethphy1>;
0126         };
0127 };