mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
dts: all uart dts setting [1/1]
PD#142470: all uart dts setting all uart node added.default is disable If want to enable, 1. status = okay 2.set the right pinmux Change-Id: I744db5735212f3a3217a4b9e26f4ebe074aa5bdc Signed-off-by: Qi Duan <qi.duan@amlogic.com>
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
|
||||
aliases {
|
||||
serial0 = &uart_AO;
|
||||
serial1 = &uart_A;
|
||||
serial2 = &uart_B;
|
||||
serial3 = &uart_AO_B;
|
||||
};
|
||||
|
||||
memory@00000000 {
|
||||
@@ -260,6 +263,29 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uart_A: serial@ffd24000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0xffd24000 0x0 0x18>;
|
||||
interrupts = <0 26 1>;
|
||||
status = "disable";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 128 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&a_uart_pins>;
|
||||
};
|
||||
|
||||
uart_B: serial@ffd23000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0xffd23000 0x0 0x18>;
|
||||
interrupts = <0 75 1>;
|
||||
status = "disable";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&b_uart_pins>;
|
||||
};
|
||||
}; /* end of / */
|
||||
|
||||
|
||||
@@ -280,3 +306,32 @@
|
||||
cs_delay = <10>;
|
||||
enhance_dlyctl = <0>;
|
||||
};
|
||||
|
||||
&aobus{
|
||||
uart_AO: serial@3000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x3000 0x0 0x18>;
|
||||
interrupts = <0 193 1>;
|
||||
status = "okay";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
xtal_tick_en = <1>;
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_uart_pins>;
|
||||
support-sysrq = <0>; /* 0 not support , 1 support */
|
||||
};
|
||||
|
||||
uart_AO_B: serial@4000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x4000 0x0 0x18>;
|
||||
interrupts = <0 197 1>;
|
||||
status = "disable";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_b_uart_pins>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -136,3 +136,19 @@
|
||||
cs_delay = <10>;
|
||||
enhance_dlyctl = <0>;
|
||||
};
|
||||
|
||||
&aobus{
|
||||
uart_AO: serial@3000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x3000 0x0 0x18>;
|
||||
interrupts = <0 193 1>;
|
||||
status = "okay";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
xtal_tick_en = <1>;
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_uart_pins>;
|
||||
support-sysrq = <0>; /* 0 not support , 1 support */
|
||||
};
|
||||
};
|
||||
|
||||
@@ -261,6 +261,29 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uart_A: serial@ffd24000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0xffd24000 0x0 0x18>;
|
||||
interrupts = <0 26 1>;
|
||||
status = "disable";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 128 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&a_uart_pins>;
|
||||
};
|
||||
|
||||
uart_B: serial@ffd23000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0xffd23000 0x0 0x18>;
|
||||
interrupts = <0 75 1>;
|
||||
status = "disable";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&b_uart_pins>;
|
||||
};
|
||||
}; /* end of / */
|
||||
|
||||
&spicc_a{
|
||||
@@ -280,3 +303,31 @@
|
||||
cs_delay = <10>;
|
||||
enhance_dlyctl = <0>;
|
||||
};
|
||||
|
||||
&aobus{
|
||||
uart_AO: serial@3000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x3000 0x0 0x18>;
|
||||
interrupts = <0 193 1>;
|
||||
status = "okay";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
xtal_tick_en = <1>;
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_uart_pins>;
|
||||
support-sysrq = <0>; /* 0 not support , 1 support */
|
||||
};
|
||||
|
||||
uart_AO_B: serial@4000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x4000 0x0 0x18>;
|
||||
interrupts = <0 197 1>;
|
||||
status = "disable";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_b_uart_pins>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -200,6 +200,30 @@
|
||||
"usb1",
|
||||
"usb1_to_ddr";
|
||||
};
|
||||
|
||||
uart_A: serial@ffd24000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0xffd24000 0x0 0x18>;
|
||||
interrupts = <0 26 1>;
|
||||
status = "okay";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 128 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&a_uart_pins>;
|
||||
};
|
||||
|
||||
uart_B: serial@ffd23000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0xffd23000 0x0 0x18>;
|
||||
interrupts = <0 75 1>;
|
||||
status = "disable";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&b_uart_pins>;
|
||||
};
|
||||
}; /* end of / */
|
||||
|
||||
&spicc_a{
|
||||
@@ -219,3 +243,31 @@
|
||||
cs_delay = <10>;
|
||||
enhance_dlyctl = <0>;
|
||||
};
|
||||
|
||||
&aobus{
|
||||
uart_AO: serial@3000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x3000 0x0 0x18>;
|
||||
interrupts = <0 193 1>;
|
||||
status = "okay";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
xtal_tick_en = <1>;
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_uart_pins>;
|
||||
support-sysrq = <0>; /* 0 not support , 1 support */
|
||||
};
|
||||
|
||||
uart_AO_B: serial@4000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x4000 0x0 0x18>;
|
||||
interrupts = <0 197 1>;
|
||||
status = "disable";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_b_uart_pins>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -495,6 +495,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
ao_b_1_uart_pins:ao_b_1_uart {
|
||||
mux {
|
||||
pins = "GPIOAO_4",
|
||||
"GPIOAO_5";
|
||||
function = "uart_ao_b";
|
||||
};
|
||||
};
|
||||
|
||||
ao_i2c_master:ao_i2c{
|
||||
mux {
|
||||
pins = "GPIOAO_4","GPIOAO_5";
|
||||
@@ -518,6 +526,30 @@
|
||||
}; /* end of pinctrl_aobus */
|
||||
|
||||
&pinctrl_periphs {
|
||||
ao_b_uart_pins:ao_b_uart {
|
||||
mux {
|
||||
pins = "GPIOZ_8",
|
||||
"GPIOZ_9";
|
||||
function = "uart_ao_b";
|
||||
};
|
||||
};
|
||||
|
||||
a_uart_pins:a_uart {
|
||||
mux {
|
||||
pins = "GPIOX_8",
|
||||
"GPIOX_9";
|
||||
function = "uart_a";
|
||||
};
|
||||
};
|
||||
|
||||
b_uart_pins:b_uart {
|
||||
mux {
|
||||
pins = "GPIOZ_2",
|
||||
"GPIOZ_3";
|
||||
function = "uart_b";
|
||||
};
|
||||
};
|
||||
|
||||
a_i2c_master:a_i2c {
|
||||
mux {
|
||||
pins = "GPIOZ_6","GPIOZ_7";
|
||||
@@ -646,18 +678,3 @@
|
||||
|
||||
}; /* end of pinctrl_periphs */
|
||||
|
||||
&aobus{
|
||||
uart_AO: serial@3000 {
|
||||
compatible = "amlogic, meson-uart";
|
||||
reg = <0x0 0x3000 0x0 0x18>;
|
||||
interrupts = <0 193 1>;
|
||||
status = "okay";
|
||||
clocks = <&xtal>;
|
||||
clock-names = "clk_uart";
|
||||
xtal_tick_en = <1>;
|
||||
fifosize = < 64 >;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ao_uart_pins>;
|
||||
support-sysrq = <0>; /* 0 not support , 1 support */
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user