Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Marvell RD88F6192 Board descrition
0004  *
0005  * Andrew Lunn <andrew@lunn.ch>
0006  *
0007  * This file contains the definitions that are common between the three
0008  * variants of the Marvell Kirkwood Development Board.
0009  */
0010 /dts-v1/;
0011 
0012 #include "kirkwood.dtsi"
0013 #include "kirkwood-6192.dtsi"
0014 
0015 / {
0016         model = "Marvell RD88F6192 reference design";
0017         compatible = "marvell,rd88f6192", "marvell,kirkwood-88f6192", "marvell,kirkwood";
0018 
0019         memory {
0020                 device_type = "memory";
0021                 reg = <0x00000000 0x20000000>;
0022         };
0023 
0024         chosen {
0025                 bootargs = "console=ttyS0,115200n8";
0026                 stdout-path = &uart0;
0027         };
0028 
0029         ocp@f1000000 {
0030                 pinctrl: pin-controller@10000 {
0031                         pinctrl-0 = <&pmx_usb_power>;
0032                         pinctrl-names = "default";
0033 
0034                         pmx_usb_power: pmx-usb-power {
0035                                 marvell,pins = "mpp10";
0036                                 marvell,function = "gpo";
0037                         };
0038                 };
0039 
0040                 serial@12000 {
0041                         status = "okay";
0042 
0043                 };
0044 
0045                 spi@10600 {
0046                         status = "okay";
0047 
0048                         m25p128@0 {
0049                                 #address-cells = <1>;
0050                                 #size-cells = <1>;
0051                                 compatible = "st,m25p128", "jedec,spi-nor";
0052                                 reg = <0>;
0053                                 spi-max-frequency = <20000000>;
0054                                 mode = <0>;
0055                         };
0056                 };
0057 
0058                 sata@80000 {
0059                         status = "okay";
0060                         nr-ports = <2>;
0061                 };
0062         };
0063 
0064         regulators {
0065                 compatible = "simple-bus";
0066                 #address-cells = <1>;
0067                 #size-cells = <0>;
0068                 pinctrl-0 = <&pmx_usb_power>;
0069                 pinctrl-names = "default";
0070 
0071                 usb_power: regulator@0 {
0072                         compatible = "regulator-fixed";
0073                         reg = <0>;
0074                         regulator-name = "USB VBUS";
0075                         regulator-min-microvolt = <5000000>;
0076                         regulator-max-microvolt = <5000000>;
0077                         enable-active-high;
0078                         regulator-always-on;
0079                         regulator-boot-on;
0080                         gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>;
0081                 };
0082         };
0083 };
0084 
0085 &mdio {
0086         status = "okay";
0087 
0088         ethphy0: ethernet-phy@8 {
0089                 reg = <8>;
0090         };
0091 };
0092 
0093 &eth0 {
0094         status = "okay";
0095         ethernet0-port@0 {
0096                 phy-handle = <&ethphy0>;
0097         };
0098 };
0099 
0100 &pciec {
0101         status = "okay";
0102 };
0103 
0104 &pcie0 {
0105         status = "okay";
0106 };