1*d5b0e70fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*d5b0e70fSEmmanuel Vadot/* Copyright (c) 2020-2022 Microchip Technology Inc */ 3*d5b0e70fSEmmanuel Vadot 4*d5b0e70fSEmmanuel Vadot/dts-v1/; 5*d5b0e70fSEmmanuel Vadot 6*d5b0e70fSEmmanuel Vadot#include "mpfs.dtsi" 7*d5b0e70fSEmmanuel Vadot#include "mpfs-polarberry-fabric.dtsi" 8*d5b0e70fSEmmanuel Vadot 9*d5b0e70fSEmmanuel Vadot/ { 10*d5b0e70fSEmmanuel Vadot model = "Sundance PolarBerry"; 11*d5b0e70fSEmmanuel Vadot compatible = "sundance,polarberry", "microchip,mpfs"; 12*d5b0e70fSEmmanuel Vadot 13*d5b0e70fSEmmanuel Vadot aliases { 14*d5b0e70fSEmmanuel Vadot ethernet0 = &mac1; 15*d5b0e70fSEmmanuel Vadot serial0 = &mmuart0; 16*d5b0e70fSEmmanuel Vadot }; 17*d5b0e70fSEmmanuel Vadot 18*d5b0e70fSEmmanuel Vadot chosen { 19*d5b0e70fSEmmanuel Vadot stdout-path = "serial0:115200n8"; 20*d5b0e70fSEmmanuel Vadot }; 21*d5b0e70fSEmmanuel Vadot 22*d5b0e70fSEmmanuel Vadot ddrc_cache_lo: memory@80000000 { 23*d5b0e70fSEmmanuel Vadot device_type = "memory"; 24*d5b0e70fSEmmanuel Vadot reg = <0x0 0x80000000 0x0 0x2e000000>; 25*d5b0e70fSEmmanuel Vadot }; 26*d5b0e70fSEmmanuel Vadot 27*d5b0e70fSEmmanuel Vadot ddrc_cache_hi: memory@1000000000 { 28*d5b0e70fSEmmanuel Vadot device_type = "memory"; 29*d5b0e70fSEmmanuel Vadot reg = <0x10 0x00000000 0x0 0xC0000000>; 30*d5b0e70fSEmmanuel Vadot }; 31*d5b0e70fSEmmanuel Vadot}; 32*d5b0e70fSEmmanuel Vadot 33*d5b0e70fSEmmanuel Vadot/* 34*d5b0e70fSEmmanuel Vadot * phy0 is connected to mac0, but the port itself is on the (optional) carrier 35*d5b0e70fSEmmanuel Vadot * board. 36*d5b0e70fSEmmanuel Vadot */ 37*d5b0e70fSEmmanuel Vadot&mac0 { 38*d5b0e70fSEmmanuel Vadot phy-mode = "sgmii"; 39*d5b0e70fSEmmanuel Vadot phy-handle = <&phy0>; 40*d5b0e70fSEmmanuel Vadot status = "disabled"; 41*d5b0e70fSEmmanuel Vadot}; 42*d5b0e70fSEmmanuel Vadot 43*d5b0e70fSEmmanuel Vadot&mac1 { 44*d5b0e70fSEmmanuel Vadot phy-mode = "sgmii"; 45*d5b0e70fSEmmanuel Vadot phy-handle = <&phy1>; 46*d5b0e70fSEmmanuel Vadot status = "okay"; 47*d5b0e70fSEmmanuel Vadot 48*d5b0e70fSEmmanuel Vadot phy1: ethernet-phy@5 { 49*d5b0e70fSEmmanuel Vadot reg = <5>; 50*d5b0e70fSEmmanuel Vadot }; 51*d5b0e70fSEmmanuel Vadot 52*d5b0e70fSEmmanuel Vadot phy0: ethernet-phy@4 { 53*d5b0e70fSEmmanuel Vadot reg = <4>; 54*d5b0e70fSEmmanuel Vadot }; 55*d5b0e70fSEmmanuel Vadot}; 56*d5b0e70fSEmmanuel Vadot 57*d5b0e70fSEmmanuel Vadot&mbox { 58*d5b0e70fSEmmanuel Vadot status = "okay"; 59*d5b0e70fSEmmanuel Vadot}; 60*d5b0e70fSEmmanuel Vadot 61*d5b0e70fSEmmanuel Vadot&mmc { 62*d5b0e70fSEmmanuel Vadot bus-width = <4>; 63*d5b0e70fSEmmanuel Vadot disable-wp; 64*d5b0e70fSEmmanuel Vadot cap-sd-highspeed; 65*d5b0e70fSEmmanuel Vadot cap-mmc-highspeed; 66*d5b0e70fSEmmanuel Vadot mmc-ddr-1_8v; 67*d5b0e70fSEmmanuel Vadot mmc-hs200-1_8v; 68*d5b0e70fSEmmanuel Vadot sd-uhs-sdr12; 69*d5b0e70fSEmmanuel Vadot sd-uhs-sdr25; 70*d5b0e70fSEmmanuel Vadot sd-uhs-sdr50; 71*d5b0e70fSEmmanuel Vadot sd-uhs-sdr104; 72*d5b0e70fSEmmanuel Vadot status = "okay"; 73*d5b0e70fSEmmanuel Vadot}; 74*d5b0e70fSEmmanuel Vadot 75*d5b0e70fSEmmanuel Vadot&mmuart0 { 76*d5b0e70fSEmmanuel Vadot status = "okay"; 77*d5b0e70fSEmmanuel Vadot}; 78*d5b0e70fSEmmanuel Vadot 79*d5b0e70fSEmmanuel Vadot&refclk { 80*d5b0e70fSEmmanuel Vadot clock-frequency = <125000000>; 81*d5b0e70fSEmmanuel Vadot}; 82*d5b0e70fSEmmanuel Vadot 83*d5b0e70fSEmmanuel Vadot&rtc { 84*d5b0e70fSEmmanuel Vadot status = "okay"; 85*d5b0e70fSEmmanuel Vadot}; 86*d5b0e70fSEmmanuel Vadot 87*d5b0e70fSEmmanuel Vadot&syscontroller { 88*d5b0e70fSEmmanuel Vadot status = "okay"; 89*d5b0e70fSEmmanuel Vadot}; 90