xref: /freebsd-src/sys/contrib/device-tree/src/arm/intel/ixp/intel-ixp43x-kixrp435.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: ISC
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree file for the Intel KIXRP435 Control Plane
4*f126890aSEmmanuel Vadot * processor reference design.
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot#include "intel-ixp43x.dtsi"
10*f126890aSEmmanuel Vadot#include "intel-ixp4xx-reference-design.dtsi"
11*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot/ {
14*f126890aSEmmanuel Vadot	model = "Intel KIXRP435 Reference Design";
15*f126890aSEmmanuel Vadot	compatible = "intel,kixrp435", "intel,ixp43x";
16*f126890aSEmmanuel Vadot	#address-cells = <1>;
17*f126890aSEmmanuel Vadot	#size-cells = <1>;
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	soc {
20*f126890aSEmmanuel Vadot		bus@c4000000 {
21*f126890aSEmmanuel Vadot			flash@0,0 {
22*f126890aSEmmanuel Vadot				compatible = "intel,ixp4xx-flash", "cfi-flash";
23*f126890aSEmmanuel Vadot				bank-width = <2>;
24*f126890aSEmmanuel Vadot				/* Enable writes on the expansion bus */
25*f126890aSEmmanuel Vadot				intel,ixp4xx-eb-write-enable = <1>;
26*f126890aSEmmanuel Vadot				/* 16 MB of Flash mapped in at CS0 */
27*f126890aSEmmanuel Vadot				reg = <0 0x00000000 0x1000000>;
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot				partitions {
30*f126890aSEmmanuel Vadot					compatible = "redboot-fis";
31*f126890aSEmmanuel Vadot					/* Eraseblock at 0x0fe0000 */
32*f126890aSEmmanuel Vadot					fis-index-block = <0x7f>;
33*f126890aSEmmanuel Vadot				};
34*f126890aSEmmanuel Vadot			};
35*f126890aSEmmanuel Vadot		};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot		/* CHECKME: ethernet set-up taken from Gateworks Cambria */
38*f126890aSEmmanuel Vadot		ethernet@c800a000 {
39*f126890aSEmmanuel Vadot			status = "okay";
40*f126890aSEmmanuel Vadot			queue-rx = <&qmgr 4>;
41*f126890aSEmmanuel Vadot			queue-txready = <&qmgr 21>;
42*f126890aSEmmanuel Vadot			phy-mode = "rgmii";
43*f126890aSEmmanuel Vadot			phy-handle = <&phy1>;
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot			mdio {
46*f126890aSEmmanuel Vadot				#address-cells = <1>;
47*f126890aSEmmanuel Vadot				#size-cells = <0>;
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot				phy1: ethernet-phy@1 {
50*f126890aSEmmanuel Vadot					reg = <1>;
51*f126890aSEmmanuel Vadot				};
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot				phy2: ethernet-phy@2 {
54*f126890aSEmmanuel Vadot					reg = <2>;
55*f126890aSEmmanuel Vadot				};
56*f126890aSEmmanuel Vadot			};
57*f126890aSEmmanuel Vadot		};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot		ethernet@c800c000 {
60*f126890aSEmmanuel Vadot			status = "okay";
61*f126890aSEmmanuel Vadot			queue-rx = <&qmgr 2>;
62*f126890aSEmmanuel Vadot			queue-txready = <&qmgr 19>;
63*f126890aSEmmanuel Vadot			phy-mode = "rgmii";
64*f126890aSEmmanuel Vadot			phy-handle = <&phy2>;
65*f126890aSEmmanuel Vadot			intel,npe-handle = <&npe 0>;
66*f126890aSEmmanuel Vadot		};
67*f126890aSEmmanuel Vadot	};
68*f126890aSEmmanuel Vadot};
69