Commit bb23b125 authored by Neil Armstrong's avatar Neil Armstrong Committed by Kevin Hilman

arm64: dts: meson-g12a: Add PWM nodes

This adds the EE and AO PWM nodes and the possible pinctrl settings.
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl<martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent a188339c
......@@ -202,6 +202,94 @@ mux {
};
};
pwm_a_pins: pwm-a {
mux {
groups = "pwm_a";
function = "pwm_a";
bias-disable;
};
};
pwm_b_x7_pins: pwm-b-x7 {
mux {
groups = "pwm_b_x7";
function = "pwm_b";
bias-disable;
};
};
pwm_b_x19_pins: pwm-b-x19 {
mux {
groups = "pwm_b_x19";
function = "pwm_b";
bias-disable;
};
};
pwm_c_c_pins: pwm-c-c {
mux {
groups = "pwm_c_c";
function = "pwm_c";
bias-disable;
};
};
pwm_c_x5_pins: pwm-c-x5 {
mux {
groups = "pwm_c_x5";
function = "pwm_c";
bias-disable;
};
};
pwm_c_x8_pins: pwm-c-x8 {
mux {
groups = "pwm_c_x8";
function = "pwm_c";
bias-disable;
};
};
pwm_d_x3_pins: pwm-d-x3 {
mux {
groups = "pwm_d_x3";
function = "pwm_d";
bias-disable;
};
};
pwm_d_x6_pins: pwm-d-x6 {
mux {
groups = "pwm_d_x6";
function = "pwm_d";
bias-disable;
};
};
pwm_e_pins: pwm-e {
mux {
groups = "pwm_e";
function = "pwm_e";
bias-disable;
};
};
pwm_f_x_pins: pwm-f-x {
mux {
groups = "pwm_f_x";
function = "pwm_f";
bias-disable;
};
};
pwm_f_h_pins: pwm-f-h {
mux {
groups = "pwm_f_h";
function = "pwm_f";
bias-disable;
};
};
uart_a_pins: uart-a {
mux {
groups = "uart_a_tx",
......@@ -418,6 +506,62 @@ mux {
bias-disable;
};
};
pwm_ao_a_pins: pwm-ao-a {
mux {
groups = "pwm_ao_a";
function = "pwm_ao_a";
bias-disable;
};
};
pwm_ao_b_pins: pwm-ao-b {
mux {
groups = "pwm_ao_b";
function = "pwm_ao_b";
bias-disable;
};
};
pwm_ao_c_4_pins: pwm-ao-c-4 {
mux {
groups = "pwm_ao_c_4";
function = "pwm_ao_c";
bias-disable;
};
};
pwm_ao_c_6_pins: pwm-ao-c-6 {
mux {
groups = "pwm_ao_c_6";
function = "pwm_ao_c";
bias-disable;
};
};
pwm_ao_d_5_pins: pwm-ao-d-5 {
mux {
groups = "pwm_ao_d_5";
function = "pwm_ao_d";
bias-disable;
};
};
pwm_ao_d_10_pins: pwm-ao-d-10 {
mux {
groups = "pwm_ao_d_10";
function = "pwm_ao_d";
bias-disable;
};
};
pwm_ao_d_e_pins: pwm-ao-d-e {
mux {
groups = "pwm_ao_d_e";
function = "pwm_ao_d";
bias-disable;
};
};
};
};
......@@ -445,6 +589,13 @@ cecb_AO: cec@280 {
status = "disabled";
};
pwm_AO_cd: pwm@2000 {
compatible = "amlogic,meson-g12a-ao-pwm-cd";
reg = <0x0 0x2000 0x0 0x20>;
#pwm-cells = <3>;
status = "disabled";
};
uart_AO: serial@3000 {
compatible = "amlogic,meson-gx-uart",
"amlogic,meson-ao-uart";
......@@ -465,6 +616,13 @@ uart_AO_B: serial@4000 {
status = "disabled";
};
pwm_AO_ab: pwm@7000 {
compatible = "amlogic,meson-g12a-ao-pwm-ab";
reg = <0x0 0x7000 0x0 0x20>;
#pwm-cells = <3>;
status = "disabled";
};
saradc: adc@9000 {
compatible = "amlogic,meson-g12a-saradc",
"amlogic,meson-saradc";
......@@ -533,6 +691,27 @@ reset: reset-controller@1004 {
#reset-cells = <1>;
};
pwm_ef: pwm@19000 {
compatible = "amlogic,meson-g12a-ee-pwm";
reg = <0x0 0x19000 0x0 0x20>;
#pwm-cells = <3>;
status = "disabled";
};
pwm_cd: pwm@1a000 {
compatible = "amlogic,meson-g12a-ee-pwm";
reg = <0x0 0x1a000 0x0 0x20>;
#pwm-cells = <3>;
status = "disabled";
};
pwm_ab: pwm@1b000 {
compatible = "amlogic,meson-g12a-ee-pwm";
reg = <0x0 0x1b000 0x0 0x20>;
#pwm-cells = <3>;
status = "disabled";
};
clk_msr: clock-measure@18000 {
compatible = "amlogic,meson-g12a-clk-measure";
reg = <0x0 0x18000 0x0 0x10>;
......
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