arm64: dts: amlogic: misc DT schema fixups
authorKevin Hilman <khilman@baylibre.com>
Wed, 21 Apr 2021 20:48:32 +0000 (13:48 -0700)
committerArnd Bergmann <arnd@arndb.de>
Thu, 22 Apr 2021 21:19:46 +0000 (23:19 +0200)
Take a pass at cleaning up a bunch of warnings
from 'make dtbs_check' that have crept in.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210421204833.18523-1-khilman@baylibre.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
16 files changed:
Documentation/devicetree/bindings/media/rc.yaml
arch/arm64/boot/dts/amlogic/meson-a1.dtsi
arch/arm64/boot/dts/amlogic/meson-axg.dtsi
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts
arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts
arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-kii-pro.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts
arch/arm64/boot/dts/amlogic/meson-gxm-mecool-kiii-pro.dts
arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dts
arch/arm64/boot/dts/amlogic/meson-gxm-wetek-core2.dts
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts

index 946441b..c4a0886 100644 (file)
@@ -90,9 +90,12 @@ properties:
       - rc-leadtek-y04g0051
       - rc-lme2510
       - rc-manli
+      - rc-mecool-kii-pro
+      - rc-mecool-kiii-pro
       - rc-medion-x10
       - rc-medion-x10-digitainer
       - rc-medion-x10-or2x
+      - rc-minix-neo
       - rc-msi-digivox-ii
       - rc-msi-digivox-iii
       - rc-msi-tvanywhere
@@ -145,6 +148,7 @@ properties:
       - rc-videomate-s350
       - rc-videomate-tv-pvr
       - rc-videostrong-kii-pro
+      - rc-vega-s9x
       - rc-wetek-hub
       - rc-wetek-play2
       - rc-winfast
index 755b4ad..b4000cf 100644 (file)
                                #reset-cells = <1>;
                        };
 
-                       periphs_pinctrl: pinctrl@0400 {
+                       periphs_pinctrl: pinctrl@400 {
                                compatible = "amlogic,meson-a1-periphs-pinctrl";
                                #address-cells = <2>;
                                #size-cells = <2>;
                                ranges;
 
-                               gpio: bank@0400 {
+                               gpio: bank@400 {
                                        reg = <0x0 0x0400 0x0 0x003c>,
                                              <0x0 0x0480 0x0 0x0118>;
                                        reg-names = "mux", "gpio";
index d945c84..895c43c 100644 (file)
                        interrupts = <GIC_SPI 150 IRQ_TYPE_EDGE_RISING>;
                        clocks = <&clkc CLKID_VAPB>;
                        resets = <&reset RESET_GE2D>;
-                       reset-names = "core";
                };
 
                gic: interrupt-controller@ffc01000 {
index 3dd2a5a..793d48f 100644 (file)
 
                pcie: pcie@fc000000 {
                        compatible = "amlogic,g12a-pcie", "snps,dw-pcie";
-                       reg = <0x0 0xfc000000 0x0 0x400000
-                              0x0 0xff648000 0x0 0x2000
-                              0x0 0xfc400000 0x0 0x200000>;
+                       reg = <0x0 0xfc000000 0x0 0x400000>,
+                             <0x0 0xff648000 0x0 0x2000>,
+                             <0x0 0xfc400000 0x0 0x200000>;
                        reg-names = "elbi", "cfg", "config";
                        interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
                        #interrupt-cells = <1>;
                        #address-cells = <3>;
                        #size-cells = <2>;
                        device_type = "pci";
-                       ranges = <0x81000000 0 0 0x0 0xfc600000 0 0x00100000
-                                 0x82000000 0 0xfc700000 0x0 0xfc700000 0 0x1900000>;
+                       ranges = <0x81000000 0 0 0x0 0xfc600000 0 0x00100000>,
+                                <0x82000000 0 0xfc700000 0x0 0xfc700000 0 0x1900000>;
 
                        clocks = <&clkc CLKID_PCIE_PHY
                                  &clkc CLKID_PCIE_COMB
                                };
                        };
 
-                       vrtc: rtc@0a8 {
+                       vrtc: rtc@a8 {
                                compatible = "amlogic,meson-vrtc";
                                reg = <0x0 0x000a8 0x0 0x4>;
                        };
                                amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
                        };
 
-                       watchdog: wdt@f0d0 {
+                       watchdog: watchdog@f0d0 {
                                compatible = "amlogic,meson-gxbb-wdt";
                                reg = <0x0 0xf0d0 0x0 0x10>;
                                clocks = <&xtal>;
index 211191f..6c7bfac 100644 (file)
@@ -12,7 +12,7 @@
 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
 
 / {
-       compatible = "azw,gsking-x", "amlogic,g12b";
+       compatible = "azw,gsking-x", "amlogic,s922x", "amlogic,g12b";
        model = "Beelink GS-King X";
 
        aliases {
index 0e331aa..707daf9 100644 (file)
@@ -11,7 +11,7 @@
 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
 
 / {
-       compatible = "azw,gtking", "amlogic,g12b";
+       compatible = "azw,gtking", "amlogic,s922x", "amlogic,g12b";
        model = "Beelink GT-King Pro";
 
        aliases {
@@ -35,7 +35,7 @@
        leds {
                compatible = "gpio-leds";
 
-               white {
+               led-white {
                        label = "power:white";
                        gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
index a7db84a..5d96c14 100644 (file)
@@ -11,7 +11,7 @@
 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
 
 / {
-       compatible = "azw,gtking", "amlogic,g12b";
+       compatible = "azw,gtking", "amlogic,s922x", "amlogic,g12b";
        model = "Beelink GT-King";
 
        aliases {
index 473b81c..344573e 100644 (file)
@@ -42,7 +42,7 @@
        leds {
                compatible = "gpio-leds";
 
-               blue {
+               led-blue {
                        label = "n2:blue";
                        gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
         * This signal should be handled by a USB specific power sequence
         * in order to reset the Hub when USB bus is powered down.
         */
-       usb-hub {
+       hog-0 {
                gpio-hog;
                gpios = <GPIOH_4 GPIO_ACTIVE_HIGH>;
                output-high;
index bfaf7f4..2015962 100644 (file)
         * This signal should be handled by a USB specific power sequence
         * in order to reset the Hub when USB bus is powered down.
         */
-       usb-hub {
+       hog-0 {
                gpio-hog;
                gpios = <GPIOAO_4 GPIO_ACTIVE_HIGH>;
                output-high;
index 5ab5d3a..c529b6c 100644 (file)
@@ -44,7 +44,7 @@
        leds {
                compatible = "gpio-leds";
 
-               blue {
+               led-blue {
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_POWER;
                        gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
index ad6d722..b331a01 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               yellow {
+               led-yellow {
                        color = <LED_COLOR_ID_YELLOW>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               blue {
+               led-blue {
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>;
                        default-state = "off";
                };
 
-               green {
+               led-green {
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
-               red {
+               led-red {
                        color = <LED_COLOR_ID_RED>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>;
index 0651756..ebebf34 100644 (file)
@@ -49,7 +49,7 @@
        leds {
                compatible = "gpio-leds";
 
-               blue {
+               led-blue {
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_POWER;
                        gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
index a414cd3..ea9f234 100644 (file)
@@ -17,7 +17,7 @@
        leds {
                compatible = "gpio-leds";
 
-               white {
+               led-white {
                        color = <LED_COLOR_ID_WHITE>;
                        function = LED_FUNCTION_POWER;
                        gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
index ec794c1..1e7f77f 100644 (file)
@@ -22,7 +22,7 @@
        leds {
                compatible = "gpio-leds";
 
-               blue {
+               led-blue {
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
index 877e3b9..66d6752 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               white {
+               led-white {
                        color = <LED_COLOR_ID_WHITE>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                };
 
-               red {
+               led-red {
                        color = <LED_COLOR_ID_RED>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>;
index b2a4e82..8c327c0 100644 (file)
@@ -47,7 +47,7 @@
         * This signal should be handled by a USB specific power sequence
         * in order to reset the Hub when USB bus is powered down.
         */
-       usb-hub {
+       hog-0 {
                gpio-hog;
                gpios = <GPIOH_4 GPIO_ACTIVE_HIGH>;
                output-high;