forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts
....@@ -19,7 +19,7 @@
1919
2020 aliases {
2121 serial0 = &serial0;
22
- serial1 = &serial1;
22
+ serial1 = &serialsc;
2323 serial2 = &serial2;
2424 serial3 = &serial3;
2525 i2c0 = &i2c0;
....@@ -27,6 +27,10 @@
2727 i2c2 = &i2c2;
2828 i2c3 = &i2c3;
2929 i2c6 = &i2c6;
30
+ spi0 = &spi0;
31
+ spi1 = &spi1;
32
+ ethernet0 = &eth0;
33
+ ethernet1 = &eth1;
3034 };
3135
3236 memory@80000000 {
....@@ -37,6 +41,18 @@
3741
3842 &ethsc {
3943 interrupts = <4 8>;
44
+};
45
+
46
+&serialsc {
47
+ interrupts = <4 8>;
48
+};
49
+
50
+&spi0 {
51
+ status = "okay";
52
+};
53
+
54
+&spi1 {
55
+ status = "okay";
4056 };
4157
4258 &serial0 {
....@@ -75,13 +91,17 @@
7591 status = "okay";
7692 };
7793
94
+&sd {
95
+ status = "okay";
96
+};
97
+
7898 &eth0 {
7999 status = "okay";
80100 phy-handle = <&ethphy0>;
81101 };
82102
83103 &mdio0 {
84
- ethphy0: ethphy@0 {
104
+ ethphy0: ethernet-phy@0 {
85105 reg = <0>;
86106 };
87107 };
....@@ -92,11 +112,43 @@
92112 };
93113
94114 &mdio1 {
95
- ethphy1: ethphy@0 {
115
+ ethphy1: ethernet-phy@0 {
96116 reg = <0>;
97117 };
98118 };
99119
120
+&usb0 {
121
+ status = "okay";
122
+};
123
+
124
+&usb1 {
125
+ status = "okay";
126
+};
127
+
128
+&pcie {
129
+ status = "okay";
130
+};
131
+
100132 &nand {
101133 status = "okay";
134
+
135
+ nand@0 {
136
+ reg = <0>;
137
+ };
138
+};
139
+
140
+&pinctrl_ether_rgmii {
141
+ tx {
142
+ pins = "RGMII0_TXCLK", "RGMII0_TXD0", "RGMII0_TXD1",
143
+ "RGMII0_TXD2", "RGMII0_TXD3", "RGMII0_TXCTL";
144
+ drive-strength = <9>;
145
+ };
146
+};
147
+
148
+&pinctrl_ether1_rgmii {
149
+ tx {
150
+ pins = "RGMII1_TXCLK", "RGMII1_TXD0", "RGMII1_TXD1",
151
+ "RGMII1_TXD2", "RGMII1_TXD3", "RGMII1_TXCTL";
152
+ drive-strength = <9>;
153
+ };
102154 };