]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: meson: gxbb-kii-pro: sort and tidy the dts
authorChristian Hewitt <christianshewitt@gmail.com>
Mon, 6 Mar 2023 12:13:49 +0000 (12:13 +0000)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 6 Mar 2023 12:35:52 +0000 (13:35 +0100)
Alpha-sort the nodes, move the default line in the LED node to where it's
normally found, and remove excess spacing. No functional changes.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Tested-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230306121351.1606360-2-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts

index 5f2d4317ecfbf173cef7ff31cc102ff8a0b36b97..73ad0f5110f376ea411f39fecfd3a6e671e635c3 100644 (file)
@@ -6,10 +6,10 @@
 /dts-v1/;
 
 #include "meson-gxbb-p20x.dtsi"
-
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/leds/common.h>
+
 / {
        compatible = "videostrong,kii-pro", "amlogic,meson-gxbb";
        model = "Videostrong KII Pro";
@@ -18,9 +18,9 @@
                compatible = "gpio-leds";
                led {
                        gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        color = <LED_COLOR_ID_RED>;
                        function = LED_FUNCTION_STATUS;
+                       default-state = "off";
                };
        };
 
                        gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
                };
        };
-
 };
 
-
-
-&uart_A {
-       status = "okay";
-       pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
-       pinctrl-names = "default";
-       uart-has-rtscts;
-
-       bluetooth {
-               compatible = "brcm,bcm4335a0";
-       };
-};
-
-
-
 &ethmac {
        status = "okay";
        pinctrl-0 = <&eth_rmii_pins>;
 &ir {
        linux,rc-map-name = "rc-videostrong-kii-pro";
 };
+
+&uart_A {
+       status = "okay";
+       pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+       pinctrl-names = "default";
+       uart-has-rtscts;
+
+       bluetooth {
+               compatible = "brcm,bcm4335a0";
+       };
+};