xref: /freebsd-src/sys/contrib/device-tree/src/arm/intel/ixp/intel-ixp45x-ixp46x.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: ISC
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree file for Intel XScale Network Processors
4*f126890aSEmmanuel Vadot * in the IXP45x and IXP46x series. This series has 64 interrupts and adds a
5*f126890aSEmmanuel Vadot * few more peripherals over the 42x and 43x series so this extends the
6*f126890aSEmmanuel Vadot * basic IXP4xx DTSI.
7*f126890aSEmmanuel Vadot */
8*f126890aSEmmanuel Vadot#include "intel-ixp4xx.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	soc {
12*f126890aSEmmanuel Vadot		bus@c4000000 {
13*f126890aSEmmanuel Vadot			compatible = "intel,ixp46x-expansion-bus-controller", "syscon";
14*f126890aSEmmanuel Vadot			/* Uses at least up to 0x124 */
15*f126890aSEmmanuel Vadot			reg = <0xc4000000 0x1000>;
16*f126890aSEmmanuel Vadot		};
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot		rng@70002100 {
19*f126890aSEmmanuel Vadot			compatible = "intel,ixp46x-rng";
20*f126890aSEmmanuel Vadot			reg = <0x70002100 4>;
21*f126890aSEmmanuel Vadot		};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot		interrupt-controller@c8003000 {
24*f126890aSEmmanuel Vadot			compatible = "intel,ixp43x-interrupt";
25*f126890aSEmmanuel Vadot		};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot		/*
28*f126890aSEmmanuel Vadot		 * This is the USB Device Mode (UDC) controller, which is used
29*f126890aSEmmanuel Vadot		 * to present the IXP4xx as a device on a USB bus.
30*f126890aSEmmanuel Vadot		 */
31*f126890aSEmmanuel Vadot		usb@c800b000 {
32*f126890aSEmmanuel Vadot			compatible = "intel,ixp4xx-udc";
33*f126890aSEmmanuel Vadot			reg = <0xc800b000 0x1000>;
34*f126890aSEmmanuel Vadot			interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;
35*f126890aSEmmanuel Vadot			status = "disabled";
36*f126890aSEmmanuel Vadot		};
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot		i2c@c8011000 {
39*f126890aSEmmanuel Vadot			compatible = "intel,ixp4xx-i2c";
40*f126890aSEmmanuel Vadot			reg = <0xc8011000 0x18>;
41*f126890aSEmmanuel Vadot			interrupts = <33 IRQ_TYPE_LEVEL_HIGH>;
42*f126890aSEmmanuel Vadot			status = "disabled";
43*f126890aSEmmanuel Vadot		};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot		/* This is known as EthB1 */
46*f126890aSEmmanuel Vadot		ethernet@c800d000 {
47*f126890aSEmmanuel Vadot			compatible = "intel,ixp4xx-ethernet";
48*f126890aSEmmanuel Vadot			reg = <0xc800d000 0x1000>;
49*f126890aSEmmanuel Vadot			status = "disabled";
50*f126890aSEmmanuel Vadot			intel,npe = <1>;
51*f126890aSEmmanuel Vadot			/* Dummy values that depend on firmware */
52*f126890aSEmmanuel Vadot			queue-rx = <&qmgr 0>;
53*f126890aSEmmanuel Vadot			queue-txready = <&qmgr 0>;
54*f126890aSEmmanuel Vadot		};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot		/* This is known as EthB2 */
57*f126890aSEmmanuel Vadot		ethernet@c800e000 {
58*f126890aSEmmanuel Vadot			compatible = "intel,ixp4xx-ethernet";
59*f126890aSEmmanuel Vadot			reg = <0xc800e000 0x1000>;
60*f126890aSEmmanuel Vadot			status = "disabled";
61*f126890aSEmmanuel Vadot			intel,npe = <2>;
62*f126890aSEmmanuel Vadot			/* Dummy values that depend on firmware */
63*f126890aSEmmanuel Vadot			queue-rx = <&qmgr 0>;
64*f126890aSEmmanuel Vadot			queue-txready = <&qmgr 0>;
65*f126890aSEmmanuel Vadot		};
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot		/* This is known as EthB3 */
68*f126890aSEmmanuel Vadot		ethernet@c800f000 {
69*f126890aSEmmanuel Vadot			compatible = "intel,ixp4xx-ethernet";
70*f126890aSEmmanuel Vadot			reg = <0xc800f000 0x1000>;
71*f126890aSEmmanuel Vadot			status = "disabled";
72*f126890aSEmmanuel Vadot			intel,npe = <3>;
73*f126890aSEmmanuel Vadot			/* Dummy values that depend on firmware */
74*f126890aSEmmanuel Vadot			queue-rx = <&qmgr 0>;
75*f126890aSEmmanuel Vadot			queue-txready = <&qmgr 0>;
76*f126890aSEmmanuel Vadot		};
77*f126890aSEmmanuel Vadot
78*f126890aSEmmanuel Vadot		ptp-timer@c8010000 {
79*f126890aSEmmanuel Vadot			compatible = "intel,ixp46x-ptp-timer";
80*f126890aSEmmanuel Vadot			reg = <0xc8010000 0x1000>;
81*f126890aSEmmanuel Vadot			interrupt-parent = <&gpio0>;
82*f126890aSEmmanuel Vadot			interrupts = <8 IRQ_TYPE_EDGE_FALLING>, <7 IRQ_TYPE_EDGE_FALLING>;
83*f126890aSEmmanuel Vadot			interrupt-names = "master", "slave";
84*f126890aSEmmanuel Vadot		};
85*f126890aSEmmanuel Vadot	};
86*f126890aSEmmanuel Vadot};
87