ARM: ux500: define serial port aliases
This enumerates the PL011 serial ports on the Ux500. This is necessary to do if we want to remove one of the serial ports, since userspace depends on console to be present on ttyAMA2 and we must not break userspace. Cc: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Родитель
b2b9dc6074
Коммит
109978dea4
|
@ -17,6 +17,13 @@
|
||||||
model = "ST-Ericsson U8540 platform with Device Tree";
|
model = "ST-Ericsson U8540 platform with Device Tree";
|
||||||
compatible = "st-ericsson,ccu8540", "st-ericsson,u8540";
|
compatible = "st-ericsson,ccu8540", "st-ericsson,u8540";
|
||||||
|
|
||||||
|
/* This stablilizes the serial port enumeration */
|
||||||
|
aliases {
|
||||||
|
serial0 = &ux500_serial0;
|
||||||
|
serial1 = &ux500_serial1;
|
||||||
|
serial2 = &ux500_serial2;
|
||||||
|
};
|
||||||
|
|
||||||
memory@0 {
|
memory@0 {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>;
|
reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>;
|
||||||
|
|
|
@ -16,6 +16,13 @@
|
||||||
model = "ST-Ericsson CCU9540 platform with Device Tree";
|
model = "ST-Ericsson CCU9540 platform with Device Tree";
|
||||||
compatible = "st-ericsson,ccu9540", "st-ericsson,u9540";
|
compatible = "st-ericsson,ccu9540", "st-ericsson,u9540";
|
||||||
|
|
||||||
|
/* This stablilizes the serial port enumeration */
|
||||||
|
aliases {
|
||||||
|
serial0 = &ux500_serial0;
|
||||||
|
serial1 = &ux500_serial1;
|
||||||
|
serial2 = &ux500_serial2;
|
||||||
|
};
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
reg = <0x00000000 0x20000000>;
|
reg = <0x00000000 0x20000000>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -971,7 +971,7 @@
|
||||||
power-domains = <&pm_domains DOMAIN_VAPE>;
|
power-domains = <&pm_domains DOMAIN_VAPE>;
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@80120000 {
|
ux500_serial0: uart@80120000 {
|
||||||
compatible = "arm,pl011", "arm,primecell";
|
compatible = "arm,pl011", "arm,primecell";
|
||||||
reg = <0x80120000 0x1000>;
|
reg = <0x80120000 0x1000>;
|
||||||
interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
@ -986,7 +986,7 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@80121000 {
|
ux500_serial1: uart@80121000 {
|
||||||
compatible = "arm,pl011", "arm,primecell";
|
compatible = "arm,pl011", "arm,primecell";
|
||||||
reg = <0x80121000 0x1000>;
|
reg = <0x80121000 0x1000>;
|
||||||
interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
@ -1001,7 +1001,7 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
uart@80007000 {
|
ux500_serial2: uart@80007000 {
|
||||||
compatible = "arm,pl011", "arm,primecell";
|
compatible = "arm,pl011", "arm,primecell";
|
||||||
reg = <0x80007000 0x1000>;
|
reg = <0x80007000 0x1000>;
|
||||||
interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
|
|
@ -17,6 +17,13 @@
|
||||||
model = "ST-Ericsson HREF (pre-v60) and ST UIB";
|
model = "ST-Ericsson HREF (pre-v60) and ST UIB";
|
||||||
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
|
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
|
||||||
|
|
||||||
|
/* This stablilizes the serial port enumeration */
|
||||||
|
aliases {
|
||||||
|
serial0 = &ux500_serial0;
|
||||||
|
serial1 = &ux500_serial1;
|
||||||
|
serial2 = &ux500_serial2;
|
||||||
|
};
|
||||||
|
|
||||||
soc {
|
soc {
|
||||||
/* Reset line for the BU21013 touchscreen */
|
/* Reset line for the BU21013 touchscreen */
|
||||||
i2c@80110000 {
|
i2c@80110000 {
|
||||||
|
|
|
@ -16,4 +16,11 @@
|
||||||
/ {
|
/ {
|
||||||
model = "ST-Ericsson HREF (pre-v60) and TVK1281618 UIB";
|
model = "ST-Ericsson HREF (pre-v60) and TVK1281618 UIB";
|
||||||
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
|
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
|
||||||
|
|
||||||
|
/* This stablilizes the serial port enumeration */
|
||||||
|
aliases {
|
||||||
|
serial0 = &ux500_serial0;
|
||||||
|
serial1 = &ux500_serial1;
|
||||||
|
serial2 = &ux500_serial2;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,6 +19,13 @@
|
||||||
model = "ST-Ericsson HREF (v60+) and ST UIB";
|
model = "ST-Ericsson HREF (v60+) and ST UIB";
|
||||||
compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
|
compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
|
||||||
|
|
||||||
|
/* This stablilizes the serial port enumeration */
|
||||||
|
aliases {
|
||||||
|
serial0 = &ux500_serial0;
|
||||||
|
serial1 = &ux500_serial1;
|
||||||
|
serial2 = &ux500_serial2;
|
||||||
|
};
|
||||||
|
|
||||||
soc {
|
soc {
|
||||||
/* Reset line for the BU21013 touchscreen */
|
/* Reset line for the BU21013 touchscreen */
|
||||||
i2c@80110000 {
|
i2c@80110000 {
|
||||||
|
|
|
@ -18,4 +18,11 @@
|
||||||
/ {
|
/ {
|
||||||
model = "ST-Ericsson HREF (v60+) and TVK1281618 UIB";
|
model = "ST-Ericsson HREF (v60+) and TVK1281618 UIB";
|
||||||
compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
|
compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
|
||||||
|
|
||||||
|
/* This stablilizes the serial port enumeration */
|
||||||
|
aliases {
|
||||||
|
serial0 = &ux500_serial0;
|
||||||
|
serial1 = &ux500_serial1;
|
||||||
|
serial2 = &ux500_serial2;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,6 +18,13 @@
|
||||||
model = "Calao Systems Snowball platform with device tree";
|
model = "Calao Systems Snowball platform with device tree";
|
||||||
compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
|
compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
|
||||||
|
|
||||||
|
/* This stablilizes the serial port enumeration */
|
||||||
|
aliases {
|
||||||
|
serial0 = &ux500_serial0;
|
||||||
|
serial1 = &ux500_serial1;
|
||||||
|
serial2 = &ux500_serial2;
|
||||||
|
};
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
reg = <0x00000000 0x20000000>;
|
reg = <0x00000000 0x20000000>;
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче