hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/pxa910.dtsi
....@@ -1,16 +1,15 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2012 Marvell Technology Group Ltd.
34 * Author: Haojian Zhuang <haojian.zhuang@marvell.com>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * publishhed by the Free Software Foundation.
85 */
96
10
-#include "skeleton.dtsi"
117 #include <dt-bindings/clock/marvell,pxa910.h>
128
139 / {
10
+ #address-cells = <1>;
11
+ #size-cells = <1>;
12
+
1413 aliases {
1514 serial0 = &uart1;
1615 serial1 = &uart2;
....@@ -68,27 +67,30 @@
6867 status = "disabled";
6968 };
7069
71
- uart1: uart@d4017000 {
72
- compatible = "mrvl,mmp-uart";
70
+ uart1: serial@d4017000 {
71
+ compatible = "mrvl,mmp-uart", "intel,xscale-uart";
7372 reg = <0xd4017000 0x1000>;
73
+ reg-shift = <2>;
7474 interrupts = <27>;
7575 clocks = <&soc_clocks PXA910_CLK_UART0>;
7676 resets = <&soc_clocks PXA910_CLK_UART0>;
7777 status = "disabled";
7878 };
7979
80
- uart2: uart@d4018000 {
81
- compatible = "mrvl,mmp-uart";
80
+ uart2: serial@d4018000 {
81
+ compatible = "mrvl,mmp-uart", "intel,xscale-uart";
8282 reg = <0xd4018000 0x1000>;
83
+ reg-shift = <2>;
8384 interrupts = <28>;
8485 clocks = <&soc_clocks PXA910_CLK_UART1>;
8586 resets = <&soc_clocks PXA910_CLK_UART1>;
8687 status = "disabled";
8788 };
8889
89
- uart3: uart@d4036000 {
90
- compatible = "mrvl,mmp-uart";
90
+ uart3: serial@d4036000 {
91
+ compatible = "mrvl,mmp-uart", "intel,xscale-uart";
9192 reg = <0xd4036000 0x1000>;
93
+ reg-shift = <2>;
9294 interrupts = <59>;
9395 clocks = <&soc_clocks PXA910_CLK_UART2>;
9496 resets = <&soc_clocks PXA910_CLK_UART2>;
....@@ -107,7 +109,7 @@
107109 clocks = <&soc_clocks PXA910_CLK_GPIO>;
108110 resets = <&soc_clocks PXA910_CLK_GPIO>;
109111 interrupt-controller;
110
- #interrupt-cells = <1>;
112
+ #interrupt-cells = <2>;
111113 ranges;
112114
113115 gcb0: gpio@d4019000 {
....@@ -153,7 +155,7 @@
153155 rtc: rtc@d4010000 {
154156 compatible = "mrvl,mmp-rtc";
155157 reg = <0xd4010000 0x1000>;
156
- interrupts = <5 6>;
158
+ interrupts = <5>, <6>;
157159 interrupt-names = "rtc 1Hz", "rtc alarm";
158160 clocks = <&soc_clocks PXA910_CLK_RTC>;
159161 resets = <&soc_clocks PXA910_CLK_RTC>;