1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2021 Corentin Labbe <clabbe@baylibre.com> 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/dts-v1/; 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot#include "intel-ixp42x.dtsi" 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot model = "Welltech EPBX100"; 12*f126890aSEmmanuel Vadot compatible = "welltech,epbx100", "intel,ixp42x"; 13*f126890aSEmmanuel Vadot #address-cells = <1>; 14*f126890aSEmmanuel Vadot #size-cells = <1>; 15*f126890aSEmmanuel Vadot 16*f126890aSEmmanuel Vadot memory@0 { 17*f126890aSEmmanuel Vadot /* 64 MB SDRAM */ 18*f126890aSEmmanuel Vadot device_type = "memory"; 19*f126890aSEmmanuel Vadot reg = <0x00000000 0x4000000>; 20*f126890aSEmmanuel Vadot }; 21*f126890aSEmmanuel Vadot 22*f126890aSEmmanuel Vadot chosen { 23*f126890aSEmmanuel Vadot bootargs = "console=ttyS0,115200n8 root=/dev/ram0 initrd=0x00800000,9M"; 24*f126890aSEmmanuel Vadot stdout-path = "uart0:115200n8"; 25*f126890aSEmmanuel Vadot }; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot aliases { 28*f126890aSEmmanuel Vadot serial0 = &uart0; 29*f126890aSEmmanuel Vadot }; 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot soc { 32*f126890aSEmmanuel Vadot bus@c4000000 { 33*f126890aSEmmanuel Vadot flash@0,0 { 34*f126890aSEmmanuel Vadot compatible = "intel,ixp4xx-flash", "cfi-flash"; 35*f126890aSEmmanuel Vadot bank-width = <2>; 36*f126890aSEmmanuel Vadot /* 37*f126890aSEmmanuel Vadot * 16 MB of Flash 38*f126890aSEmmanuel Vadot */ 39*f126890aSEmmanuel Vadot reg = <0 0x00000000 0x1000000>; 40*f126890aSEmmanuel Vadot 41*f126890aSEmmanuel Vadot partitions { 42*f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 43*f126890aSEmmanuel Vadot #address-cells = <1>; 44*f126890aSEmmanuel Vadot #size-cells = <1>; 45*f126890aSEmmanuel Vadot 46*f126890aSEmmanuel Vadot partition@0 { 47*f126890aSEmmanuel Vadot label = "RedBoot"; 48*f126890aSEmmanuel Vadot reg = <0x00000000 0x00080000>; 49*f126890aSEmmanuel Vadot read-only; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot partition@80000 { 52*f126890aSEmmanuel Vadot label = "zImage"; 53*f126890aSEmmanuel Vadot reg = <0x00080000 0x00100000>; 54*f126890aSEmmanuel Vadot read-only; 55*f126890aSEmmanuel Vadot }; 56*f126890aSEmmanuel Vadot partition@180000 { 57*f126890aSEmmanuel Vadot label = "ramdisk"; 58*f126890aSEmmanuel Vadot reg = <0x00180000 0x00300000>; 59*f126890aSEmmanuel Vadot read-only; 60*f126890aSEmmanuel Vadot }; 61*f126890aSEmmanuel Vadot partition@480000 { 62*f126890aSEmmanuel Vadot label = "User"; 63*f126890aSEmmanuel Vadot reg = <0x00480000 0x00b60000>; 64*f126890aSEmmanuel Vadot read-only; 65*f126890aSEmmanuel Vadot }; 66*f126890aSEmmanuel Vadot partition@fe0000 { 67*f126890aSEmmanuel Vadot label = "FIS directory"; 68*f126890aSEmmanuel Vadot reg = <0x00fe0000 0x001f000>; 69*f126890aSEmmanuel Vadot read-only; 70*f126890aSEmmanuel Vadot }; 71*f126890aSEmmanuel Vadot partition@fff000 { 72*f126890aSEmmanuel Vadot label = "RedBoot config"; 73*f126890aSEmmanuel Vadot reg = <0x00fff000 0x0001000>; 74*f126890aSEmmanuel Vadot read-only; 75*f126890aSEmmanuel Vadot }; 76*f126890aSEmmanuel Vadot }; 77*f126890aSEmmanuel Vadot }; 78*f126890aSEmmanuel Vadot }; 79*f126890aSEmmanuel Vadot 80*f126890aSEmmanuel Vadot /* LAN port */ 81*f126890aSEmmanuel Vadot ethernet@c8009000 { 82*f126890aSEmmanuel Vadot status = "okay"; 83*f126890aSEmmanuel Vadot queue-rx = <&qmgr 3>; 84*f126890aSEmmanuel Vadot queue-txready = <&qmgr 20>; 85*f126890aSEmmanuel Vadot phy-mode = "rgmii"; 86*f126890aSEmmanuel Vadot phy-handle = <&phy5>; 87*f126890aSEmmanuel Vadot 88*f126890aSEmmanuel Vadot mdio { 89*f126890aSEmmanuel Vadot #address-cells = <1>; 90*f126890aSEmmanuel Vadot #size-cells = <0>; 91*f126890aSEmmanuel Vadot 92*f126890aSEmmanuel Vadot phy5: ethernet-phy@5 { 93*f126890aSEmmanuel Vadot reg = <5>; 94*f126890aSEmmanuel Vadot }; 95*f126890aSEmmanuel Vadot }; 96*f126890aSEmmanuel Vadot }; 97*f126890aSEmmanuel Vadot }; 98*f126890aSEmmanuel Vadot}; 99