forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arm64/boot/dts/apm/apm-storm.dtsi
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * dts file for AppliedMicro (APM) X-Gene Storm SOC
34 *
45 * Copyright (C) 2013, Applied Micro Circuits Corporation
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License as
8
- * published by the Free Software Foundation; either version 2 of
9
- * the License, or (at your option) any later version.
106 */
117
128 / {
....@@ -21,7 +17,7 @@
2117
2218 cpu@0 {
2319 device_type = "cpu";
24
- compatible = "apm,potenza", "arm,armv8";
20
+ compatible = "apm,potenza";
2521 reg = <0x0 0x000>;
2622 enable-method = "spin-table";
2723 cpu-release-addr = <0x1 0x0000fff8>;
....@@ -29,7 +25,7 @@
2925 };
3026 cpu@1 {
3127 device_type = "cpu";
32
- compatible = "apm,potenza", "arm,armv8";
28
+ compatible = "apm,potenza";
3329 reg = <0x0 0x001>;
3430 enable-method = "spin-table";
3531 cpu-release-addr = <0x1 0x0000fff8>;
....@@ -37,7 +33,7 @@
3733 };
3834 cpu@100 {
3935 device_type = "cpu";
40
- compatible = "apm,potenza", "arm,armv8";
36
+ compatible = "apm,potenza";
4137 reg = <0x0 0x100>;
4238 enable-method = "spin-table";
4339 cpu-release-addr = <0x1 0x0000fff8>;
....@@ -45,7 +41,7 @@
4541 };
4642 cpu@101 {
4743 device_type = "cpu";
48
- compatible = "apm,potenza", "arm,armv8";
44
+ compatible = "apm,potenza";
4945 reg = <0x0 0x101>;
5046 enable-method = "spin-table";
5147 cpu-release-addr = <0x1 0x0000fff8>;
....@@ -53,7 +49,7 @@
5349 };
5450 cpu@200 {
5551 device_type = "cpu";
56
- compatible = "apm,potenza", "arm,armv8";
52
+ compatible = "apm,potenza";
5753 reg = <0x0 0x200>;
5854 enable-method = "spin-table";
5955 cpu-release-addr = <0x1 0x0000fff8>;
....@@ -61,7 +57,7 @@
6157 };
6258 cpu@201 {
6359 device_type = "cpu";
64
- compatible = "apm,potenza", "arm,armv8";
60
+ compatible = "apm,potenza";
6561 reg = <0x0 0x201>;
6662 enable-method = "spin-table";
6763 cpu-release-addr = <0x1 0x0000fff8>;
....@@ -69,7 +65,7 @@
6965 };
7066 cpu@300 {
7167 device_type = "cpu";
72
- compatible = "apm,potenza", "arm,armv8";
68
+ compatible = "apm,potenza";
7369 reg = <0x0 0x300>;
7470 enable-method = "spin-table";
7571 cpu-release-addr = <0x1 0x0000fff8>;
....@@ -77,7 +73,7 @@
7773 };
7874 cpu@301 {
7975 device_type = "cpu";
80
- compatible = "apm,potenza", "arm,armv8";
76
+ compatible = "apm,potenza";
8177 reg = <0x0 0x301>;
8278 enable-method = "spin-table";
8379 cpu-release-addr = <0x1 0x0000fff8>;
....@@ -829,13 +825,13 @@
829825 dwgpio: gpio@1c024000 {
830826 compatible = "snps,dw-apb-gpio";
831827 reg = <0x0 0x1c024000 0x0 0x1000>;
832
- reg-io-width = <4>;
833828 #address-cells = <1>;
834829 #size-cells = <0>;
835830
836831 porta: gpio-controller@0 {
837832 compatible = "snps,dw-apb-gpio-port";
838833 gpio-controller;
834
+ #gpio-cells = <2>;
839835 snps,nr-gpios = <32>;
840836 reg = <0>;
841837 };