hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arc/boot/dts/axs10x_mb.dtsi
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Support for peripherals on the AXS10x mainboard
34 *
45 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 / {
....@@ -64,15 +61,16 @@
6461 clock-frequency = <25000000>;
6562 #clock-cells = <0>;
6663 };
67
-
68
- pguclk: pguclk {
69
- #clock-cells = <0>;
70
- compatible = "fixed-clock";
71
- clock-frequency = <74250000>;
72
- };
7364 };
7465
75
- gmac: ethernet@0x18000 {
66
+ pguclk: pguclk@10080 {
67
+ compatible = "snps,axs10x-pgu-pll-clock";
68
+ reg = <0x10080 0x10>, <0x110 0x10>;
69
+ #clock-cells = <0>;
70
+ clocks = <&input_clk>;
71
+ };
72
+
73
+ gmac: ethernet@18000 {
7674 #interrupt-cells = <1>;
7775 compatible = "snps,dwmac";
7876 reg = < 0x18000 0x2000 >;
....@@ -89,13 +87,13 @@
8987 mac-address = [00 00 00 00 00 00]; /* Filled in by U-Boot */
9088 };
9189
92
- ehci@0x40000 {
90
+ ehci@40000 {
9391 compatible = "generic-ehci";
9492 reg = < 0x40000 0x100 >;
9593 interrupts = < 8 >;
9694 };
9795
98
- ohci@0x60000 {
96
+ ohci@60000 {
9997 compatible = "generic-ohci";
10098 reg = < 0x60000 0x100 >;
10199 interrupts = < 8 >;
....@@ -119,7 +117,7 @@
119117 * dw_mci_pltfm_prepare_command() is used in generic platform
120118 * code.
121119 */
122
- mmc@0x15000 {
120
+ mmc@15000 {
123121 compatible = "altr,socfpga-dw-mshc";
124122 reg = < 0x15000 0x400 >;
125123 fifo-depth = < 16 >;
....@@ -130,7 +128,7 @@
130128 bus-width = < 4 >;
131129 };
132130
133
- uart@0x20000 {
131
+ uart@20000 {
134132 compatible = "snps,dw-apb-uart";
135133 reg = <0x20000 0x100>;
136134 clock-frequency = <33333333>;
....@@ -140,7 +138,7 @@
140138 reg-io-width = <4>;
141139 };
142140
143
- uart@0x21000 {
141
+ uart@21000 {
144142 compatible = "snps,dw-apb-uart";
145143 reg = <0x21000 0x100>;
146144 clock-frequency = <33333333>;
....@@ -151,7 +149,7 @@
151149 };
152150
153151 /* UART muxed with USB data port (ttyS3) */
154
- uart@0x22000 {
152
+ uart@22000 {
155153 compatible = "snps,dw-apb-uart";
156154 reg = <0x22000 0x100>;
157155 clock-frequency = <33333333>;
....@@ -161,7 +159,7 @@
161159 reg-io-width = <4>;
162160 };
163161
164
- i2c@0x1d000 {
162
+ i2c@1d000 {
165163 compatible = "snps,designware-i2c";
166164 reg = <0x1d000 0x100>;
167165 clock-frequency = <400000>;
....@@ -178,7 +176,7 @@
178176 #sound-dai-cells = <0>;
179177 };
180178
181
- i2c@0x1f000 {
179
+ i2c@1f000 {
182180 compatible = "snps,designware-i2c";
183181 #address-cells = <1>;
184182 #size-cells = <0>;
....@@ -219,13 +217,13 @@
219217 };
220218 };
221219
222
- eeprom@0x54{
220
+ eeprom@54{
223221 compatible = "atmel,24c01";
224222 reg = <0x54>;
225223 pagesize = <0x8>;
226224 };
227225
228
- eeprom@0x57{
226
+ eeprom@57{
229227 compatible = "atmel,24c04";
230228 reg = <0x57>;
231229 pagesize = <0x8>;
....@@ -307,7 +305,6 @@
307305 pgu@17000 {
308306 compatible = "snps,arcpgu";
309307 reg = <0x17000 0x400>;
310
- encoder-slave = <&adv7511>;
311308 clocks = <&pguclk>;
312309 clock-names = "pxlclk";
313310 memory-region = <&frame_buffer>;