arm64: dts: meson-g12a: Add AO-CEC nodes

Amlogic G12A embeds 2 CEC controllers :
- AO-CEC-A the same controller as in GXBB, GXL & GXM SoCs
- AO-CEC-B is a new controller

Note, the two controller can work simultanously since 2 Pads can
handle CEC, thus this SoC can handle 2 distinct CEC busses.

This patch adds the nodes for the AO-CEC-A and AO-CEC-B controllers.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:
Neil Armstrong 2019-04-08 11:31:36 +02:00 коммит произвёл Kevin Hilman
Родитель 083feecd85
Коммит 91516e5419
1 изменённых файлов: 34 добавлений и 0 удалений

Просмотреть файл

@ -169,6 +169,22 @@
gpio-ranges = <&periphs_pinctrl 0 0 86>; gpio-ranges = <&periphs_pinctrl 0 0 86>;
}; };
cec_ao_a_h_pins: cec_ao_a_h {
mux {
groups = "cec_ao_a_h";
function = "cec_ao_a_h";
bias-disable;
};
};
cec_ao_b_h_pins: cec_ao_b_h {
mux {
groups = "cec_ao_b_h";
function = "cec_ao_b_h";
bias-disable;
};
};
hdmitx_ddc_pins: hdmitx_ddc { hdmitx_ddc_pins: hdmitx_ddc {
mux { mux {
groups = "hdmitx_sda", groups = "hdmitx_sda",
@ -405,12 +421,30 @@
}; };
}; };
cec_AO: cec@100 {
compatible = "amlogic,meson-gx-ao-cec";
reg = <0x0 0x00100 0x0 0x14>;
interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc_AO CLKID_AO_CEC>;
clock-names = "core";
status = "disabled";
};
sec_AO: ao-secure@140 { sec_AO: ao-secure@140 {
compatible = "amlogic,meson-gx-ao-secure", "syscon"; compatible = "amlogic,meson-gx-ao-secure", "syscon";
reg = <0x0 0x140 0x0 0x140>; reg = <0x0 0x140 0x0 0x140>;
amlogic,has-chip-id; amlogic,has-chip-id;
}; };
cecb_AO: cec@280 {
compatible = "amlogic,meson-g12a-ao-cec";
reg = <0x0 0x00280 0x0 0x1c>;
interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc_AO CLKID_AO_CTS_OSCIN>;
clock-names = "oscin";
status = "disabled";
};
uart_AO: serial@3000 { uart_AO: serial@3000 {
compatible = "amlogic,meson-gx-uart", compatible = "amlogic,meson-gx-uart",
"amlogic,meson-ao-uart"; "amlogic,meson-ao-uart";