1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree file for Marvell Armada 382 reference board 4*724ba675SRob Herring * (RD-AC3X-48G4X2XL) 5*724ba675SRob Herring * 6*724ba675SRob Herring * Copyright (C) 2020 Allied Telesis Labs 7*724ba675SRob Herring */ 8*724ba675SRob Herring 9*724ba675SRob Herring/dts-v1/; 10*724ba675SRob Herring#include "armada-385.dtsi" 11*724ba675SRob Herring 12*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 13*724ba675SRob Herring 14*724ba675SRob Herring/ { 15*724ba675SRob Herring model = "Marvell Armada 382 RD-AC3X"; 16*724ba675SRob Herring compatible = "marvell,rd-ac3x-48g4x2xl", "marvell,rd-ac3x", 17*724ba675SRob Herring "marvell,armada385", "marvell,armada380"; 18*724ba675SRob Herring 19*724ba675SRob Herring chosen { 20*724ba675SRob Herring stdout-path = "serial0:115200n8"; 21*724ba675SRob Herring }; 22*724ba675SRob Herring 23*724ba675SRob Herring aliases { 24*724ba675SRob Herring ethernet0 = ð1; 25*724ba675SRob Herring }; 26*724ba675SRob Herring 27*724ba675SRob Herring memory { 28*724ba675SRob Herring device_type = "memory"; 29*724ba675SRob Herring reg = <0x00000000 0x20000000>; /* 512MB */ 30*724ba675SRob Herring }; 31*724ba675SRob Herring 32*724ba675SRob Herring soc { 33*724ba675SRob Herring ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 34*724ba675SRob Herring MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>; 35*724ba675SRob Herring }; 36*724ba675SRob Herring}; 37*724ba675SRob Herring 38*724ba675SRob Herring&i2c0 { 39*724ba675SRob Herring pinctrl-names = "default"; 40*724ba675SRob Herring pinctrl-0 = <&i2c0_pins>; 41*724ba675SRob Herring status = "okay"; 42*724ba675SRob Herring 43*724ba675SRob Herring eeprom@53 { 44*724ba675SRob Herring compatible = "atmel,24c64"; 45*724ba675SRob Herring reg = <0x53>; 46*724ba675SRob Herring }; 47*724ba675SRob Herring 48*724ba675SRob Herring /* CPLD device present at 0x3c. Function unknown */ 49*724ba675SRob Herring}; 50*724ba675SRob Herring 51*724ba675SRob Herring&uart0 { 52*724ba675SRob Herring pinctrl-names = "default"; 53*724ba675SRob Herring pinctrl-0 = <&uart0_pins>; 54*724ba675SRob Herring status = "okay"; 55*724ba675SRob Herring}; 56*724ba675SRob Herring 57*724ba675SRob Herringð1 { 58*724ba675SRob Herring status = "okay"; 59*724ba675SRob Herring phy = <&phy0>; 60*724ba675SRob Herring phy-mode = "rgmii-id"; 61*724ba675SRob Herring}; 62*724ba675SRob Herring 63*724ba675SRob Herring&mdio { 64*724ba675SRob Herring pinctrl-names = "default"; 65*724ba675SRob Herring pinctrl-0 = <&mdio_pins>; 66*724ba675SRob Herring 67*724ba675SRob Herring phy0: ethernet-phy@0 { 68*724ba675SRob Herring reg = <0>; 69*724ba675SRob Herring }; 70*724ba675SRob Herring}; 71*724ba675SRob Herring 72*724ba675SRob Herring&pciec { 73*724ba675SRob Herring status = "okay"; 74*724ba675SRob Herring}; 75*724ba675SRob Herring 76*724ba675SRob Herring&pcie1 { 77*724ba675SRob Herring /* Port 0, Lane 0 */ 78*724ba675SRob Herring status = "okay"; 79*724ba675SRob Herring}; 80*724ba675SRob Herring 81*724ba675SRob Herring&nand_controller { 82*724ba675SRob Herring status = "okay"; 83*724ba675SRob Herring 84*724ba675SRob Herring nand@0 { 85*724ba675SRob Herring reg = <0>; 86*724ba675SRob Herring label = "pxa3xx_nand-0"; 87*724ba675SRob Herring nand-rb = <0>; 88*724ba675SRob Herring nand-on-flash-bbt; 89*724ba675SRob Herring 90*724ba675SRob Herring partitions { 91*724ba675SRob Herring compatible = "fixed-partitions"; 92*724ba675SRob Herring #address-cells = <1>; 93*724ba675SRob Herring #size-cells = <1>; 94*724ba675SRob Herring partition@0 { 95*724ba675SRob Herring reg = <0x00000000 0x00500000>; 96*724ba675SRob Herring label = "u-boot"; 97*724ba675SRob Herring }; 98*724ba675SRob Herring partition@500000 { 99*724ba675SRob Herring reg = <0x00500000 0x00400000>; 100*724ba675SRob Herring label = "u-boot env"; 101*724ba675SRob Herring }; 102*724ba675SRob Herring partition@900000 { 103*724ba675SRob Herring reg = <0x00900000 0x3F700000>; 104*724ba675SRob Herring label = "user"; 105*724ba675SRob Herring }; 106*724ba675SRob Herring }; 107*724ba675SRob Herring }; 108*724ba675SRob Herring}; 109*724ba675SRob Herring 110*724ba675SRob Herring&refclk { 111*724ba675SRob Herring clock-frequency = <200000000>; 112*724ba675SRob Herring}; 113