aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/dts/t1042d4rdb.dts
blob: 5e9fab7a1057884051edc3c30b41f8b021f26bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// SPDX-License-Identifier: GPL-2.0+ OR X11
/*
 * T1042D4RDB Device Tree Source
 *
 * Copyright 2013 - 2015 Freescale Semiconductor Inc.
 * Copyright 2019-2021 NXP
 */

/include/ "t104x.dtsi"

/ {
	model = "fsl,T1042D4RDB";
	compatible = "fsl,T1042D4RDB";
	#address-cells = <2>;
	#size-cells = <2>;
	interrupt-parent = <&mpic>;

	aliases {
		spi0 = &espi0;
	};
};

&soc {
	fman0: fman@400000 {
		ethernet@e0000 {
			phy-handle = <&phy_sgmii_0>;
			phy-connection-type = "sgmii";
		};

		ethernet@e2000 {
			phy-handle = <&phy_sgmii_1>;
			phy-connection-type = "sgmii";
		};

		ethernet@e4000 {
			phy-handle = <&phy_sgmii_2>;
			phy-connection-type = "sgmii";
		};

		ethernet@e6000 {
			phy-handle = <&phy_rgmii_0>;
			phy-connection-type = "rgmii";
		};

		ethernet@e8000 {
			phy-handle = <&phy_rgmii_1>;
			phy-connection-type = "rgmii";
		};

		mdio0: mdio@fc000 {
			phy_sgmii_0: ethernet-phy@2 {
				reg = <0x02>;
			};

			phy_sgmii_1: ethernet-phy@3 {
				reg = <0x03>;
			};

			phy_sgmii_2: ethernet-phy@1 {
				reg = <0x01>;
			};

			phy_rgmii_0: ethernet-phy@4 {
				reg = <0x04>;
			};

			phy_rgmii_1: ethernet-phy@5 {
				reg = <0x05>;
			};
		};
	};
};

&espi0 {
	status = "okay";
	flash@0 {
		compatible = "jedec,spi-nor";
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <0>;
		spi-max-frequency = <10000000>; /* input clock */
	};
};

/include/ "t1042si-post.dtsi"