ipq806x: move stdout-path to DTSI files
All device DTS files in the target set the stdout-path to the same value. So, let's move the definitions to the DTSI files. That's also where the kernel defines it (qcom-ipq8064-v1.0.dtsi). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
ed761344d2
commit
74e339f118
17 changed files with 16 additions and 38 deletions
|
@ -23,10 +23,6 @@
|
||||||
serial0 = &gsbi4_serial;
|
serial0 = &gsbi4_serial;
|
||||||
mdio-gpio0 = &mdio0;
|
mdio-gpio0 = &mdio0;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&adm_dma {
|
&adm_dma {
|
||||||
|
|
|
@ -23,10 +23,6 @@
|
||||||
serial0 = &gsbi4_serial;
|
serial0 = &gsbi4_serial;
|
||||||
mdio-gpio0 = &mdio0;
|
mdio-gpio0 = &mdio0;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&qcom_pinmux {
|
&qcom_pinmux {
|
||||||
|
|
|
@ -32,10 +32,6 @@
|
||||||
label-mac-device = &gmac2;
|
label-mac-device = &gmac2;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
pinctrl-0 = <&button_pins>;
|
pinctrl-0 = <&button_pins>;
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "rootfstype=squashfs noinitrd";
|
bootargs = "rootfstype=squashfs noinitrd";
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
|
|
|
@ -18,10 +18,6 @@
|
||||||
serial0 = &uart2;
|
serial0 = &uart2;
|
||||||
mdio-gpio0 = &mdio0;
|
mdio-gpio0 = &mdio0;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&qcom_pinmux {
|
&qcom_pinmux {
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "console=ttyMSM0,115200n8";
|
bootargs = "console=ttyMSM0,115200n8";
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
append-rootblock = "ubi.mtd="; /* append to bootargs adding the root deviceblock nbr from bootloader */
|
append-rootblock = "ubi.mtd="; /* append to bootargs adding the root deviceblock nbr from bootloader */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "rootfstype=squashfs noinitrd";
|
bootargs = "rootfstype=squashfs noinitrd";
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "rootfstype=squashfs noinitrd";
|
bootargs = "rootfstype=squashfs noinitrd";
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
#include "qcom-ipq8064.dtsi"
|
#include "qcom-ipq8064.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
chosen {
|
||||||
|
stdout-path = "serial0:115200n8";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&CPU_SPC {
|
&CPU_SPC {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
#include "qcom-ipq8064.dtsi"
|
#include "qcom-ipq8064.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
chosen {
|
||||||
|
stdout-path = "serial0:115200n8";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&CPU_SPC {
|
&CPU_SPC {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -31,10 +31,6 @@
|
||||||
led-upgrade = &general;
|
led-upgrade = &general;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
pinctrl-0 = <&button_pins>;
|
pinctrl-0 = <&button_pins>;
|
||||||
|
|
|
@ -31,10 +31,6 @@
|
||||||
led-upgrade = &power_green;
|
led-upgrade = &power_green;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
pinctrl-0 = <&button_pins>;
|
pinctrl-0 = <&button_pins>;
|
||||||
|
|
|
@ -52,10 +52,6 @@
|
||||||
led-upgrade = &led_pass;
|
led-upgrade = &led_pass;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
chosen {
|
chosen {
|
||||||
/* use "ubi_rootfs" volume in "ubi" partition as rootfs */
|
/* use "ubi_rootfs" volume in "ubi" partition as rootfs */
|
||||||
bootargs = "ubi.block=0,1 root=/dev/ubiblock0_1 rootfstype=squashfs";
|
bootargs = "ubi.block=0,1 root=/dev/ubiblock0_1 rootfstype=squashfs";
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "rootfstype=squashfs,ext4 rootwait noinitrd";
|
bootargs = "rootfstype=squashfs,ext4 rootwait noinitrd";
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
append-rootblock = "root=/dev/mmcblk0p";
|
append-rootblock = "root=/dev/mmcblk0p";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -37,10 +37,6 @@
|
||||||
label-mac-device = &gmac2;
|
label-mac-device = &gmac2;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
|
||||||
stdout-path = "serial0:115200n8";
|
|
||||||
};
|
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
pinctrl-0 = <&button_pins>;
|
pinctrl-0 = <&button_pins>;
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
model = "Qualcomm IPQ8065";
|
model = "Qualcomm IPQ8065";
|
||||||
compatible = "qcom,ipq8065", "qcom,ipq8064";
|
compatible = "qcom,ipq8065", "qcom,ipq8064";
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
stdout-path = "serial0:115200n8";
|
||||||
|
};
|
||||||
|
|
||||||
cpus {
|
cpus {
|
||||||
qcom,l2 {
|
qcom,l2 {
|
||||||
qcom,l2-cpufreq = <384000000 600000000 1400000000>;
|
qcom,l2-cpufreq = <384000000 600000000 1400000000>;
|
||||||
|
|
Loading…
Reference in a new issue