Commit 4c433276 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'amlogic-dt' of...

Merge tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt

Amlogic 32-bit DT updates for v4.21
- support more timers on meson8
- add the stdout-path property on several boards

* tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
  ARM: dts: meson: add the clock inputs for the Meson timer
  ARM: dts: meson: add the TIMER B/C/D interrupts
  ARM: dts: meson: consistently disable pin bias
  ARM: dts: meson8b: mxq: add the /chosen/stdout-path property
  ARM: dts: meson8: minix-neo-x8: add the /chosen/stdout-path property
  ARM: dts: meson6: atv1200: add the /chosen/stdout-path property
  dt-bindings: timer: meson6_timer: document the clock inputs
  dt-bindings: timer: meson6_timer: document all interrupts
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents e14a6df9 7b141abe
...@@ -4,12 +4,19 @@ Required properties: ...@@ -4,12 +4,19 @@ Required properties:
- compatible : should be "amlogic,meson6-timer" - compatible : should be "amlogic,meson6-timer"
- reg : Specifies base physical address and size of the registers. - reg : Specifies base physical address and size of the registers.
- interrupts : The interrupt of the first timer - interrupts : The four interrupts, one for each timer event
- clocks : phandles to the pclk (system clock) and XTAL clocks
- clock-names : must contain "pclk" and "xtal"
Example: Example:
timer@c1109940 { timer@c1109940 {
compatible = "amlogic,meson6-timer"; compatible = "amlogic,meson6-timer";
reg = <0xc1109940 0x14>; reg = <0xc1109940 0x14>;
interrupts = <0 10 1>; interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
clocks = <&xtal>, <&clk81>;
clock-names = "xtal", "pclk";
}; };
...@@ -197,10 +197,13 @@ wdt: watchdog@9900 { ...@@ -197,10 +197,13 @@ wdt: watchdog@9900 {
interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
}; };
timer@9940 { timer_abcde: timer@9940 {
compatible = "amlogic,meson6-timer"; compatible = "amlogic,meson6-timer";
reg = <0x9940 0x18>; reg = <0x9940 0x18>;
interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
}; };
}; };
......
...@@ -56,6 +56,10 @@ aliases { ...@@ -56,6 +56,10 @@ aliases {
serial0 = &uart_AO; serial0 = &uart_AO;
}; };
chosen {
stdout-path = "serial0:115200n8";
};
memory { memory {
reg = <0x40000000 0x80000000>; reg = <0x40000000 0x80000000>;
}; };
......
...@@ -88,6 +88,11 @@ &efuse { ...@@ -88,6 +88,11 @@ &efuse {
status = "disabled"; status = "disabled";
}; };
&timer_abcde {
clocks = <&xtal>, <&clk81>;
clock-names = "xtal", "pclk";
};
&uart_AO { &uart_AO {
clocks = <&xtal>, <&clk81>, <&clk81>; clocks = <&xtal>, <&clk81>, <&clk81>;
clock-names = "xtal", "pclk", "baud"; clock-names = "xtal", "pclk", "baud";
......
...@@ -52,6 +52,10 @@ aliases { ...@@ -52,6 +52,10 @@ aliases {
serial0 = &uart_AO; serial0 = &uart_AO;
}; };
chosen {
stdout-path = "serial0:115200n8";
};
memory { memory {
reg = <0x40000000 0x80000000>; reg = <0x40000000 0x80000000>;
}; };
......
...@@ -163,6 +163,7 @@ uart_ao_a_pins: uart_ao_a { ...@@ -163,6 +163,7 @@ uart_ao_a_pins: uart_ao_a {
mux { mux {
groups = "uart_tx_ao_a", "uart_rx_ao_a"; groups = "uart_tx_ao_a", "uart_rx_ao_a";
function = "uart_ao"; function = "uart_ao";
bias-disable;
}; };
}; };
...@@ -170,6 +171,7 @@ i2c_ao_pins: i2c_mst_ao { ...@@ -170,6 +171,7 @@ i2c_ao_pins: i2c_mst_ao {
mux { mux {
groups = "i2c_mst_sck_ao", "i2c_mst_sda_ao"; groups = "i2c_mst_sck_ao", "i2c_mst_sda_ao";
function = "i2c_mst_ao"; function = "i2c_mst_ao";
bias-disable;
}; };
}; };
...@@ -177,6 +179,7 @@ ir_recv_pins: remote { ...@@ -177,6 +179,7 @@ ir_recv_pins: remote {
mux { mux {
groups = "remote_input"; groups = "remote_input";
function = "remote"; function = "remote";
bias-disable;
}; };
}; };
...@@ -184,6 +187,7 @@ pwm_f_ao_pins: pwm-f-ao { ...@@ -184,6 +187,7 @@ pwm_f_ao_pins: pwm-f-ao {
mux { mux {
groups = "pwm_f_ao"; groups = "pwm_f_ao";
function = "pwm_f_ao"; function = "pwm_f_ao";
bias-disable;
}; };
}; };
}; };
...@@ -238,6 +242,7 @@ mux { ...@@ -238,6 +242,7 @@ mux {
groups = "sd_d0_a", "sd_d1_a", "sd_d2_a", groups = "sd_d0_a", "sd_d1_a", "sd_d2_a",
"sd_d3_a", "sd_clk_a", "sd_cmd_a"; "sd_d3_a", "sd_clk_a", "sd_cmd_a";
function = "sd_a"; function = "sd_a";
bias-disable;
}; };
}; };
...@@ -246,6 +251,7 @@ mux { ...@@ -246,6 +251,7 @@ mux {
groups = "sd_d0_b", "sd_d1_b", "sd_d2_b", groups = "sd_d0_b", "sd_d1_b", "sd_d2_b",
"sd_d3_b", "sd_clk_b", "sd_cmd_b"; "sd_d3_b", "sd_clk_b", "sd_cmd_b";
function = "sd_b"; function = "sd_b";
bias-disable;
}; };
}; };
...@@ -254,6 +260,7 @@ mux { ...@@ -254,6 +260,7 @@ mux {
groups = "sd_d0_c", "sd_d1_c", "sd_d2_c", groups = "sd_d0_c", "sd_d1_c", "sd_d2_c",
"sd_d3_c", "sd_clk_c", "sd_cmd_c"; "sd_d3_c", "sd_clk_c", "sd_cmd_c";
function = "sd_c"; function = "sd_c";
bias-disable;
}; };
}; };
...@@ -261,6 +268,7 @@ spi_nor_pins: nor { ...@@ -261,6 +268,7 @@ spi_nor_pins: nor {
mux { mux {
groups = "nor_d", "nor_q", "nor_c", "nor_cs"; groups = "nor_d", "nor_q", "nor_c", "nor_cs";
function = "nor"; function = "nor";
bias-disable;
}; };
}; };
...@@ -272,6 +280,7 @@ mux { ...@@ -272,6 +280,7 @@ mux {
"eth_rxd1", "eth_rxd0", "eth_mdio", "eth_rxd1", "eth_rxd0", "eth_mdio",
"eth_mdc"; "eth_mdc";
function = "ethernet"; function = "ethernet";
bias-disable;
}; };
}; };
...@@ -279,6 +288,7 @@ pwm_e_pins: pwm-e { ...@@ -279,6 +288,7 @@ pwm_e_pins: pwm-e {
mux { mux {
groups = "pwm_e"; groups = "pwm_e";
function = "pwm_e"; function = "pwm_e";
bias-disable;
}; };
}; };
...@@ -287,6 +297,7 @@ mux { ...@@ -287,6 +297,7 @@ mux {
groups = "uart_tx_a1", groups = "uart_tx_a1",
"uart_rx_a1"; "uart_rx_a1";
function = "uart_a"; function = "uart_a";
bias-disable;
}; };
}; };
...@@ -295,6 +306,7 @@ mux { ...@@ -295,6 +306,7 @@ mux {
groups = "uart_cts_a1", groups = "uart_cts_a1",
"uart_rts_a1"; "uart_rts_a1";
function = "uart_a"; function = "uart_a";
bias-disable;
}; };
}; };
}; };
...@@ -375,6 +387,11 @@ &spifc { ...@@ -375,6 +387,11 @@ &spifc {
clocks = <&clkc CLKID_CLK81>; clocks = <&clkc CLKID_CLK81>;
}; };
&timer_abcde {
clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
clock-names = "xtal", "pclk";
};
&uart_AO { &uart_AO {
compatible = "amlogic,meson8-uart", "amlogic,meson-uart"; compatible = "amlogic,meson8-uart", "amlogic,meson-uart";
clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>; clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
......
...@@ -55,6 +55,10 @@ aliases { ...@@ -55,6 +55,10 @@ aliases {
serial0 = &uart_AO; serial0 = &uart_AO;
}; };
chosen {
stdout-path = "serial0:115200n8";
};
memory { memory {
reg = <0x40000000 0x40000000>; reg = <0x40000000 0x40000000>;
}; };
......
...@@ -146,6 +146,7 @@ uart_ao_a_pins: uart_ao_a { ...@@ -146,6 +146,7 @@ uart_ao_a_pins: uart_ao_a {
mux { mux {
groups = "uart_tx_ao_a", "uart_rx_ao_a"; groups = "uart_tx_ao_a", "uart_rx_ao_a";
function = "uart_ao"; function = "uart_ao";
bias-disable;
}; };
}; };
...@@ -153,6 +154,7 @@ ir_recv_pins: remote { ...@@ -153,6 +154,7 @@ ir_recv_pins: remote {
mux { mux {
groups = "remote_input"; groups = "remote_input";
function = "remote"; function = "remote";
bias-disable;
}; };
}; };
}; };
...@@ -220,6 +222,7 @@ mux { ...@@ -220,6 +222,7 @@ mux {
"eth_txd2", "eth_txd2",
"eth_txd3"; "eth_txd3";
function = "ethernet"; function = "ethernet";
bias-disable;
}; };
}; };
...@@ -235,6 +238,7 @@ mux { ...@@ -235,6 +238,7 @@ mux {
"eth_mdio_en", "eth_mdio_en",
"eth_mdc"; "eth_mdc";
function = "ethernet"; function = "ethernet";
bias-disable;
}; };
}; };
...@@ -242,6 +246,7 @@ i2c_a_pins: i2c-a { ...@@ -242,6 +246,7 @@ i2c_a_pins: i2c-a {
mux { mux {
groups = "i2c_sda_a", "i2c_sck_a"; groups = "i2c_sda_a", "i2c_sck_a";
function = "i2c_a"; function = "i2c_a";
bias-disable;
}; };
}; };
...@@ -250,6 +255,7 @@ mux { ...@@ -250,6 +255,7 @@ mux {
groups = "sd_d0_b", "sd_d1_b", "sd_d2_b", groups = "sd_d0_b", "sd_d1_b", "sd_d2_b",
"sd_d3_b", "sd_clk_b", "sd_cmd_b"; "sd_d3_b", "sd_clk_b", "sd_cmd_b";
function = "sd_b"; function = "sd_b";
bias-disable;
}; };
}; };
...@@ -257,6 +263,7 @@ pwm_c1_pins: pwm-c1 { ...@@ -257,6 +263,7 @@ pwm_c1_pins: pwm-c1 {
mux { mux {
groups = "pwm_c1"; groups = "pwm_c1";
function = "pwm_c"; function = "pwm_c";
bias-disable;
}; };
}; };
...@@ -265,6 +272,7 @@ mux { ...@@ -265,6 +272,7 @@ mux {
groups = "uart_tx_b0", groups = "uart_tx_b0",
"uart_rx_b0"; "uart_rx_b0";
function = "uart_b"; function = "uart_b";
bias-disable;
}; };
}; };
...@@ -273,6 +281,7 @@ mux { ...@@ -273,6 +281,7 @@ mux {
groups = "uart_cts_b0", groups = "uart_cts_b0",
"uart_rts_b0"; "uart_rts_b0";
function = "uart_b"; function = "uart_b";
bias-disable;
}; };
}; };
}; };
...@@ -361,6 +370,11 @@ &sdio { ...@@ -361,6 +370,11 @@ &sdio {
clock-names = "core", "clkin"; clock-names = "core", "clkin";
}; };
&timer_abcde {
clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
clock-names = "xtal", "pclk";
};
&uart_AO { &uart_AO {
compatible = "amlogic,meson8b-uart", "amlogic,meson-uart"; compatible = "amlogic,meson8b-uart", "amlogic,meson-uart";
clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>; clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>;
......
...@@ -45,6 +45,7 @@ mux { ...@@ -45,6 +45,7 @@ mux {
"eth_rxd1", "eth_rxd0", "eth_rxd1", "eth_rxd0",
"eth_mdio", "eth_mdc"; "eth_mdio", "eth_mdc";
function = "ethernet"; function = "ethernet";
bias-disable;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment