ath79: enable UART in SoC DTSI files

The uart node is enabled on all devices except one (GL-USB150 *).
Thus, let's not have a few hundred nodes to enable it, but do not
disable it in the first place.

Where the majority of devices is using it, also move the serial0
alias to the DTSI.

*) Since GL-USB150 even defines serial0 alias, the missing uart
   is probably just a mistake. Anyway, disable it for now so this
   patch stays cosmetic.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2021-02-24 01:52:34 +01:00
parent 1322150b0c
commit 3a4b751110
208 changed files with 16 additions and 847 deletions

View File

@ -196,10 +196,6 @@
status = "okay";
};
&uart {
status = "okay";
};
&usb {
status = "okay";
};

View File

@ -150,10 +150,6 @@
};
};
&uart {
status = "okay";
};
&usb {
status = "okay";
};

View File

@ -41,8 +41,6 @@
reg-io-width = <4>;
reg-shift = <2>;
no-loopback-test;
status = "disabled";
};
usb_phy: usb-phy@18030000 {

View File

@ -48,10 +48,6 @@
};
};
&uart {
status = "okay";
};
&gpio {
ngpios = <31>;
gpio-line-names =

View File

@ -91,7 +91,3 @@
};
};
};
&uart {
status = "okay";
};

View File

@ -120,10 +120,6 @@
};
};
&uart {
status = "okay";
};
&mdio0 {
status = "okay";

View File

@ -212,10 +212,6 @@
};
};
&uart {
status = "okay";
};
&pll {
clocks = <&extosc>;
};

View File

@ -159,10 +159,6 @@
};
};
&uart {
status = "okay";
};
&pll {
clocks = <&extosc>;
};

View File

@ -117,7 +117,3 @@
};
};
};
&uart {
status = "okay";
};

View File

@ -102,10 +102,6 @@
clocks = <&extosc>;
};
&uart {
status = "okay";
};
&mdio0 {
status = "okay";

View File

@ -188,10 +188,6 @@
};
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -75,10 +75,6 @@
status = "okay";
};
&uart {
status = "okay";
};
&mdio0 {
status = "okay";

View File

@ -67,10 +67,6 @@
};
};
&uart {
status = "okay";
};
&usb_phy {
status = "okay";
};

View File

@ -181,7 +181,3 @@
pinctrl-single,bits = <0x0 0x0 0xf8>;
};
};
&uart {
status = "okay";
};

View File

@ -157,7 +157,3 @@
pinctrl-single,bits = <0x0 0x0 0xf8>;
};
};
&uart {
status = "okay";
};

View File

@ -90,10 +90,6 @@
};
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -196,7 +196,3 @@
gpio-controller;
};
};
&uart {
status = "okay";
};

View File

@ -129,7 +129,3 @@
gpio-controller;
};
};
&uart {
status = "okay";
};

View File

@ -115,7 +115,3 @@
pinctrl-single,bits = <0x0 0x0 0xf8>;
};
};
&uart {
status = "okay";
};

View File

@ -201,7 +201,3 @@
gpio-controller;
};
};
&uart {
status = "okay";
};

View File

@ -185,10 +185,6 @@
};
};
&uart {
status = "okay";
};
&usb_phy {
status = "okay";
};

View File

@ -104,7 +104,3 @@
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <1>;
};
&uart {
status = "okay";
};

View File

@ -150,7 +150,3 @@
mtd-mac-address = <&uboot 0x1fc00>;
mtd-mac-address-increment = <1>;
};
&uart {
status = "okay";
};

View File

@ -27,10 +27,6 @@
};
};
&uart {
status = "okay";
};
&pll {
clocks = <&extosc>;
};

View File

@ -133,10 +133,6 @@
};
};
&uart {
status = "okay";
};
&pcie {
status = "okay";

View File

@ -144,10 +144,6 @@
clocks = <&extosc>;
};
&uart {
status = "okay";
};
&usb_phy {
status = "okay";
};

View File

@ -217,10 +217,6 @@
clocks = <&extosc>;
};
&uart {
status = "okay";
};
&usb_phy {
status = "okay";
};

View File

@ -69,10 +69,6 @@
};
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -69,10 +69,6 @@
};
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -90,10 +90,6 @@
clocks = <&extosc>;
};
&uart {
status = "okay";
};
&mdio0 {
status = "okay";

View File

@ -134,10 +134,6 @@
};
};
&uart {
status = "okay";
};
&usb {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -128,10 +128,6 @@
status = "okay";
};
&uart {
status = "okay";
};
&eth1 {
status = "okay";

View File

@ -45,8 +45,6 @@
reg-io-width = <4>;
reg-shift = <2>;
no-loopback-test;
status = "disabled";
};
gpio: gpio@18040000 {

View File

@ -15,10 +15,6 @@
};
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -72,8 +72,6 @@
reg-io-width = <4>;
reg-shift = <2>;
no-loopback-test;
status = "disabled";
};
gpio: gpio@18040000 {

View File

@ -62,10 +62,6 @@
};
};
&uart {
status = "okay";
};
&pll {
clocks = <&extosc>;
};

View File

@ -79,10 +79,6 @@
};
};
&uart {
status = "okay";
};
&pll {
clocks = <&extosc>;
};

View File

@ -106,10 +106,6 @@
};
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -8,6 +8,10 @@
#address-cells = <1>;
#size-cells = <1>;
aliases {
serial0 = &uart;
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
@ -41,8 +45,6 @@
clocks = <&pll ATH79_CLK_REF>;
clock-names = "uart";
status = "disabled";
};
gpio: gpio@18040000 {

View File

@ -10,7 +10,6 @@
compatible = "dlink,dir-505", "qca,ar9330";
aliases {
serial0 = &uart;
led-boot = &led_power_green;
led-failsafe = &led_status_red;
led-running = &led_power_green;
@ -50,10 +49,6 @@
};
};
&uart {
status = "okay";
};
&gpio {
led_enable {
gpio-hog;

View File

@ -10,7 +10,6 @@
compatible = "glinet,gl-ar150", "qca,ar9330";
aliases {
serial0 = &uart;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -62,10 +61,6 @@
};
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
status = "okay";

View File

@ -11,7 +11,6 @@
};
aliases {
serial0 = &uart;
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
@ -78,10 +77,6 @@
};
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -10,7 +10,6 @@
compatible = "pqi,air-pen", "qca,ar9330";
aliases {
serial0 = &uart;
led-boot = &led_wlan;
led-failsafe = &led_wlan;
led-upgrade = &led_wlan;
@ -50,10 +49,6 @@
};
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
status = "okay";

View File

@ -10,7 +10,6 @@
compatible = "8dev,carambola2", "qca,ar9331";
aliases {
serial0 = &uart;
label-mac-device = &wmac;
};
@ -49,10 +48,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
status = "okay";

View File

@ -11,7 +11,6 @@
led-boot = &led_vpn;
led-failsafe = &led_vpn;
led-upgrade = &led_vpn;
serial0 = &uart;
};
keys {
@ -111,10 +110,6 @@
};
};
&uart {
status = "okay";
};
&usb {
status = "okay";
};

View File

@ -9,10 +9,6 @@
model = "Arduino Yun";
compatible = "arduino,yun", "qca,ar9331";
aliases {
serial0 = &uart;
};
chosen {
bootargs = "console=ttyATH0,250000";
};
@ -107,14 +103,6 @@
};
};
&uart {
status = "okay";
};
&gpio {
status = "okay";
};
&pinmux {
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins>;

View File

@ -14,7 +14,6 @@
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
serial0 = &uart;
};
leds {
@ -43,10 +42,6 @@
};
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
status = "okay";

View File

@ -13,7 +13,6 @@
led-boot = &led_etactica;
led-failsafe = &led_etactica;
led-upgrade = &led_etactica;
serial0 = &uart;
};
keys {
@ -53,10 +52,6 @@
};
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
status = "okay";

View File

@ -7,7 +7,6 @@
/ {
aliases {
serial0 = &uart;
label-mac-device = &wmac;
};
@ -65,10 +64,6 @@
mtd-mac-address = <&uboot 0x1fc00>;
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
vbus-supply = <&reg_usb_vbus>;

View File

@ -10,7 +10,6 @@
model = "GL.iNet GL-MiFi";
aliases {
serial0 = &uart;
label-mac-device = &eth0;
};
@ -69,10 +68,6 @@
};
};
&uart {
status = "okay";
};
&usb {
status = "okay";

View File

@ -10,7 +10,6 @@
model = "GL.iNet GL-USB150";
aliases {
serial0 = &uart;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -113,6 +112,10 @@
};
};
&uart {
status = "disabled";
};
&wmac {
status = "okay";

View File

@ -6,10 +6,6 @@
#include <dt-bindings/input/input.h>
/ {
aliases {
serial0 = &uart;
};
keys: keys {
compatible = "gpio-keys";
@ -87,10 +83,6 @@
};
};
&uart {
status = "okay";
};
&usb {
status = "okay";
};

View File

@ -14,7 +14,6 @@
led-boot = &led_system;
led-failsafe = &led_system;
led-upgrade = &led_system;
serial0 = &uart;
};
gpio-export {
@ -107,10 +106,6 @@
};
};
&uart {
status = "okay";
};
&usb {
status = "okay";
};

View File

@ -10,7 +10,6 @@
compatible = "pisen,ts-d084", "qca,ar9331";
aliases {
serial0 = &uart;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
@ -91,10 +90,6 @@
compatible = "syscon", "simple-mfd";
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
status = "okay";

View File

@ -10,7 +10,6 @@
compatible = "pisen,wmm003n", "qca,ar9331";
aliases {
serial0 = &uart;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
@ -99,10 +98,6 @@
compatible = "syscon", "simple-mfd";
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
vbus-supply = <&reg_usb_vbus>;

View File

@ -10,7 +10,6 @@
compatible = "tplink,tl-mr3020-v1", "qca,ar9331";
aliases {
serial0 = &uart;
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
@ -86,10 +85,6 @@
clock-frequency = <25000000>;
};
&uart {
status = "okay";
};
&usb {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -10,7 +10,6 @@
compatible = "tplink,tl-mr3040-v2", "qca,ar9331";
aliases {
serial0 = &uart;
led-boot = &led_lan;
led-failsafe = &led_lan;
label-mac-device = &eth0;
@ -82,10 +81,6 @@
clock-frequency = <25000000>;
};
&uart {
status = "okay";
};
&usb {
#address-cells = <1>;
#size-cells = <0>;

View File

@ -7,7 +7,6 @@
/ {
aliases {
serial0 = &uart;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
@ -97,10 +96,6 @@
compatible = "syscon", "simple-mfd";
};
&uart {
status = "okay";
};
&usb {
dr_mode = "host";
vbus-supply = <&reg_usb_vbus>;

View File

@ -7,7 +7,6 @@
/ {
aliases {
serial0 = &uart;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
@ -65,10 +64,6 @@
mtd-mac-address-increment = <(-1)>;
};
&uart {
status = "okay";
};
&usb {
status = "okay";

View File

@ -10,7 +10,6 @@
model = "TP-Link TL-WR741N/ND v4";
aliases {
serial0 = &uart;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
@ -140,10 +139,6 @@
mtd-mac-address-increment = <(-1)>;
};
&uart {
status = "okay";
};
&wmac {
status = "okay";

View File

@ -11,7 +11,6 @@
compatible = "engenius,eap300-v2", "qca,ar9341";
aliases {
serial0 = &uart;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -69,10 +68,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -11,7 +11,6 @@
compatible = "engenius,ens202ext-v1", "qca,ar9341";
aliases {
serial0 = &uart;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -84,10 +83,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -11,7 +11,6 @@
};
aliases {
serial0 = &uart;
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
@ -82,10 +81,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&pinmux {
led_lan_wan_blue_pin: pinmux_lan_wan_blue_pin {
pinctrl-single,bits = <0x10 0x0 0x0000ffff>;

View File

@ -10,7 +10,6 @@
compatible = "pcs,cr3000", "qca,ar9341";
aliases {
serial0 = &uart;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -84,10 +83,6 @@
clock-frequency = <25000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -11,7 +11,6 @@
compatible = "pisen,wmb001n", "qca,ar9341";
aliases {
serial0 = &uart;
led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
@ -131,10 +130,6 @@
clock-frequency = <25000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -7,7 +7,6 @@
/ {
aliases {
serial0 = &uart;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -66,10 +65,6 @@
clock-frequency = <25000000>;
};
&uart {
status = "okay";
};
&gpio {
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins &pmx_usb_power>;

View File

@ -7,7 +7,6 @@
/ {
aliases {
serial0 = &uart;
label-mac-device = &wmac;
};
};
@ -50,10 +49,6 @@
};
};
&uart {
status = "okay";
};
&eth0 {
status = "okay";

View File

@ -132,7 +132,3 @@
rxdv-delay = <3>;
};
};
&uart {
status = "okay";
};

View File

@ -71,10 +71,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&pcie {
status = "okay";
};

View File

@ -25,10 +25,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&pcie {
status = "okay";
};

View File

@ -57,10 +57,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -65,10 +65,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&gpio {
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -144,10 +144,6 @@
};
};
&uart {
status = "okay";
};
&wmac {
status = "okay";

View File

@ -10,7 +10,6 @@
model = "COMFAST CF-E120A v3";
aliases {
serial0 = &uart;
led-boot = &led_rssihigh;
led-failsafe = &led_rssihigh;
led-upgrade = &led_rssihigh;
@ -118,10 +117,6 @@
};
};
&uart {
status = "okay";
};
&eth0 {
status = "okay";
phy-handle = <&swphy0>;

View File

@ -61,10 +61,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -128,10 +128,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&eth0 {
status = "okay";

View File

@ -11,7 +11,6 @@
led-failsafe = &led_power_orange;
led-running = &led_power_blue;
led-upgrade = &led_power_orange;
serial0 = &uart;
};
leds {

View File

@ -11,7 +11,6 @@
led-failsafe = &led_power_orange;
led-running = &led_power_green;
led-upgrade = &led_power_orange;
serial0 = &uart;
};
leds {

View File

@ -119,10 +119,6 @@
};
};
&uart {
status = "okay";
};
&usb {
status = "okay";
#address-cells = <1>;

View File

@ -13,7 +13,6 @@
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
serial0 = &uart;
};
keys {
@ -61,10 +60,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -96,10 +96,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&pinmux {
enable_gpio_16: pinmux_enable_gpio_16 {
pinctrl-single,bits = <0x10 0x0 0x000000ff>;

View File

@ -14,7 +14,6 @@
led-failsafe = &led_user;
led-running = &led_user;
led-upgrade = &led_user;
serial0 = &uart;
};
leds {
@ -163,10 +162,6 @@
};
};
&uart {
status = "okay";
};
&eth0 {
status = "okay";

View File

@ -260,7 +260,3 @@
gpio-controller;
};
};
&uart {
status = "okay";
};

View File

@ -66,10 +66,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -11,7 +11,6 @@
};
aliases {
serial0 = &uart;
label-mac-device = &eth0;
};
@ -30,10 +29,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -14,7 +14,6 @@
};
aliases {
serial0 = &uart;
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
@ -85,10 +84,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&pinmux {
led_lan_wan_blue_pin: pinmux_lan_wan_blue_pin {
pinctrl-single,bits = <0xc 0x0 0xffff0000>;

View File

@ -10,7 +10,6 @@
compatible = "pcs,cap324", "qca,ar9344";
aliases {
serial0 = &uart;
led-boot = &led_power_amber;
led-failsafe = &led_power_amber;
led-running = &led_power_green;
@ -73,10 +72,6 @@
clock-frequency = <25000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -10,7 +10,6 @@
compatible = "pcs,cr5000", "qca,ar9344";
aliases {
serial0 = &uart;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@ -65,10 +64,6 @@
clock-frequency = <25000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -75,10 +75,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&gpio {
gpio_ext_lna0 {
gpio-hog;

View File

@ -100,10 +100,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&wmac {
status = "okay";

View File

@ -140,11 +140,6 @@
};
};
&uart {
status = "okay";
};
&usb {
status = "okay";
};

View File

@ -9,7 +9,6 @@
compatible = "teltonika,rut9xx", "qca,ar9344";
aliases {
serial0 = &uart;
serial1 = &hs_uart;
label-mac-device = &eth1;
};
@ -43,10 +42,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&hs_uart {
status = "okay";

View File

@ -25,10 +25,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -66,10 +66,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -46,10 +46,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -63,10 +63,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&gpio {
gpio_ext_lna0 {
gpio-hog;

View File

@ -81,10 +81,6 @@
clock-frequency = <25000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -82,10 +82,6 @@
clock-frequency = <40000000>;
};
&uart {
status = "okay";
};
&spi {
status = "okay";

View File

@ -68,10 +68,6 @@
pinctrl-0 = <&enable_gpio21>;
};
&uart {
status = "okay";
};
&gpio {
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins>;

View File

@ -8,6 +8,10 @@
#address-cells = <1>;
#size-cells = <1>;
aliases {
serial0 = &uart;
};
chosen {
bootargs = "console=ttyS0,115200";
};
@ -70,8 +74,6 @@
reg-io-width = <4>;
reg-shift = <2>;
no-loopback-test;
status = "disabled";
};
gpio: gpio@18040000 {

Some files were not shown because too many files have changed in this diff Show More