forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/ecx-common.dtsi
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright 2011-2012 Calxeda, Inc.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License along with
14
- * this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165
176 / {
....@@ -38,10 +27,11 @@
3827 reg = <0xffe08000 0x10000>;
3928 interrupts = <0 83 4>;
4029 dma-coherent;
41
- calxeda,port-phys = <&combophy5 0 &combophy0 0
42
- &combophy0 1 &combophy0 2
43
- &combophy0 3>;
44
- calxeda,sgpio-gpio =<&gpioh 5 1 &gpioh 6 1 &gpioh 7 1>;
30
+ calxeda,port-phys = < &combophy5 0>, <&combophy0 0>,
31
+ <&combophy0 1>, <&combophy0 2>,
32
+ <&combophy0 3>;
33
+ calxeda,sgpio-gpio =<&gpioh 5 1>, <&gpioh 6 1>,
34
+ <&gpioh 7 1>;
4535 calxeda,led-order = <4 0 1 2 3>;
4636 };
4737
....@@ -125,8 +115,8 @@
125115 compatible = "arm,pl011", "arm,primecell";
126116 reg = <0xfff36000 0x1000>;
127117 interrupts = <0 20 4>;
128
- clocks = <&pclk>;
129
- clock-names = "apb_pclk";
118
+ clocks = <&pclk>, <&pclk>;
119
+ clock-names = "uartclk", "apb_pclk";
130120 };
131121
132122 smic@fff3a000 {
....@@ -213,14 +203,14 @@
213203 ethernet@fff50000 {
214204 compatible = "calxeda,hb-xgmac";
215205 reg = <0xfff50000 0x1000>;
216
- interrupts = <0 77 4 0 78 4 0 79 4>;
206
+ interrupts = <0 77 4>, <0 78 4>, <0 79 4>;
217207 dma-coherent;
218208 };
219209
220210 ethernet@fff51000 {
221211 compatible = "calxeda,hb-xgmac";
222212 reg = <0xfff51000 0x1000>;
223
- interrupts = <0 80 4 0 81 4 0 82 4>;
213
+ interrupts = <0 80 4>, <0 81 4>, <0 82 4>;
224214 dma-coherent;
225215 };
226216