Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
0002 /*
0003  * Device Tree file for Marvell Armada 382 reference board
0004  * (RD-AC3X-48G4X2XL)
0005  *
0006  * Copyright (C) 2020 Allied Telesis Labs
0007  */
0008 
0009 /dts-v1/;
0010 #include "armada-385.dtsi"
0011 
0012 #include <dt-bindings/gpio/gpio.h>
0013 
0014 / {
0015         model = "Marvell Armada 382 RD-AC3X";
0016         compatible = "marvell,rd-ac3x-48g4x2xl", "marvell,rd-ac3x",
0017                          "marvell,armada385", "marvell,armada380";
0018 
0019         chosen {
0020                 stdout-path = "serial0:115200n8";
0021         };
0022 
0023         aliases {
0024                 ethernet0 = &eth1;
0025         };
0026 
0027         memory {
0028                 device_type = "memory";
0029                 reg = <0x00000000 0x20000000>; /* 512MB */
0030         };
0031 
0032         soc {
0033                 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
0034                           MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
0035         };
0036 };
0037 
0038 &i2c0 {
0039         pinctrl-names = "default";
0040         pinctrl-0 = <&i2c0_pins>;
0041         status = "okay";
0042 
0043         eeprom@53{
0044                 compatible = "atmel,24c64";
0045                 reg = <0x53>;
0046         };
0047 
0048         /* CPLD device present at 0x3c. Function unknown */
0049 };
0050 
0051 &uart0 {
0052         pinctrl-names = "default";
0053         pinctrl-0 = <&uart0_pins>;
0054         status = "okay";
0055 };
0056 
0057 &eth1 {
0058         status = "okay";
0059         phy = <&phy0>;
0060         phy-mode = "rgmii-id";
0061 };
0062 
0063 &mdio {
0064         pinctrl-names = "default";
0065         pinctrl-0 = <&mdio_pins>;
0066 
0067         phy0: ethernet-phy@0 {
0068                 reg = <0>;
0069         };
0070 };
0071 
0072 &pciec {
0073         status = "okay";
0074 };
0075 
0076 &pcie1 {
0077         /* Port 0, Lane 0 */
0078         status = "okay";
0079 };
0080 
0081 &nand_controller {
0082         status = "okay";
0083 
0084         nand@0 {
0085                 reg = <0>;
0086                 label = "pxa3xx_nand-0";
0087                 nand-rb = <0>;
0088                 nand-on-flash-bbt;
0089 
0090                 partitions {
0091                         compatible = "fixed-partitions";
0092                         #address-cells = <1>;
0093                         #size-cells = <1>;
0094                         partition@0 {
0095                                 reg = <0x00000000 0x00500000>;
0096                                 label = "u-boot";
0097                         };
0098                         partition@500000{
0099                                 reg = <0x00500000 0x00400000>;
0100                                 label = "u-boot env";
0101                         };
0102                         partition@900000{
0103                                 reg = <0x00900000 0x3F700000>;
0104                                 label = "user";
0105                         };
0106                 };
0107         };
0108 };
0109 
0110 &refclk {
0111         clock-frequency = <200000000>;
0112 };