realtek: Consolidate bootargs
authorSander Vanheule <sander@svanheule.net>
Sun, 14 Nov 2021 18:45:30 +0000 (19:45 +0100)
committerStijn Tintel <stijn@linux-ipv6.be>
Wed, 24 Nov 2021 19:42:44 +0000 (21:42 +0200)
All current devices use identical bootargs, so let's move that to the
common devicetree includes.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Stijn Segers <foss@volatilesystems.org>
Tested-by: Paul Fertser <fercerpav@gmail.com>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
target/linux/realtek/dts-5.10/rtl8382_allnet_all-sg8208m.dts
target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-10p.dts
target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts
target/linux/realtek/dts-5.10/rtl838x.dtsi
target/linux/realtek/dts-5.10/rtl930x.dtsi

index e98a9bfc615b477afe5caba3fedb966b18b30380..6eb316231b47e62ccd21ecd08c030dea3add65ad 100644 (file)
@@ -8,10 +8,6 @@
 / {
        compatible = "realtek,rtl838x-soc";
 
-       chosen {
-               bootargs = "console=ttyS0,115200";
-       };
-
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
index 7233f6086c6fb057812cf09105bda8bcd7ed330b..7095006454a9f04dd47ff6c79089c87ecac6cb58 100644 (file)
                led-upgrade = &led_sys;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,115200";
-       };
-
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
index f4ca1686dd08cdfa139cfaaef82473e6171cba95..320cb08ac7de7097c0583888f1e6fe244537c58b 100644 (file)
                led-upgrade = &led_sys;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,115200";
-       };
-
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
index 119eaadc16e641297fe22893da948f4c65a45d03..a0f377c4f4a7f15f201cac596f303b2674fbc7e7 100644 (file)
                led-upgrade = &led_power;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,115200";
-       };
-
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
index a4811dbf3073ab7483471cd25ad3cb00acb15d97..312a36c1a844a04d8eaa69b27f31dcfd422fe1a4 100644 (file)
                led-upgrade = &led_power;
        };
 
-       chosen {
-               bootargs = "console=ttyS0,115200";
-       };
-
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
index 1dc9e272fe3fd38ef4bd72375569f30e316e6171..30960afff4d9735a1e6495c8ff0bc4ec6b6d14ba 100644 (file)
@@ -9,10 +9,6 @@
        compatible = "inaba,aml2-17gp", "realtek,rtl838x-soc";
        model = "INABA Abaniact AML2-17GP";
 
-       chosen {
-               bootargs = "console=ttyS0,115200";
-       };
-
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
index a72addcf369dcdd61ab2880da75267fe553a122e..a33b6d899e2a87b8903bca190fc0c722dab8cbde 100644 (file)
@@ -65,7 +65,7 @@
        };
 
        chosen {
-               bootargs = "console=ttyS0,38400";
+               bootargs = "console=ttyS0,115200";
        };
 
        cpuintc: cpuintc {
index e78e9ebeb8fdcae5f411e48bf1ecc67a43c1b456..e53f506a956f1950b6752946d4301c5b8b2bb900 100644 (file)
@@ -70,7 +70,7 @@
        };
 
        chosen {
-               bootargs = "console=ttyS0,38400";
+               bootargs = "console=ttyS0,115200";
        };
 
        cpuintc: cpuintc {