~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: c2aecde134d2bb8a00280fab3fbdfe3b37565d2d (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
// SPDX-License-Identifier: GPL-2.0+ OR X11
/*
 * P1010RDB Device Tree Source
 *
 * Copyright 2020 NXP
 */
/ {
	aliases {
		spi0 = &espi0;
	};
};

&soc {
	mdio@24000 {
		phy0: ethernet-phy@0 {
			reg = <0x1>;
		};

		phy1: ethernet-phy@1 {
			reg = <0x0>;
		};

		phy2: ethernet-phy@2 {
			reg = <0x2>;
		};

		tbi-phy@3 {
			device_type = "tbi-phy";
			reg = <0x3>;
		};
	};

	mdio@25000 {
		tbi0: tbi-phy@11 {
			reg = <0x11>;
			device_type = "tbi-phy";
		};
	};

	mdio@26000 {
		tbi1: tbi-phy@11 {
			reg = <0x11>;
			device_type = "tbi-phy";
		};
	};

	enet0: ethernet@b0000 {
		phy-handle = <&phy0>;
		phy-connection-type = "rgmii-id";
	};

	enet1: ethernet@b1000 {
		phy-handle = <&phy1>;
		tbi-handle = <&tbi0>;
		phy-connection-type = "sgmii";
	};

	enet2: ethernet@b2000 {
		phy-handle = <&phy2>;
		tbi-handle = <&tbi1>;
		phy-connection-type = "sgmii";
	};

	i2c@3000 {
		rtc@68 {
			compatible = "pericom,pt7c4338";
			reg = <0x68>;
		};
	};

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