diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-08-19 10:42:25 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-08-22 21:39:35 +0300 |
commit | 38f151d410056149c0a539bbaa2873db4d3fc9a4 (patch) | |
tree | 42c4053dc7cfe39097fcdbad0ead9b4e37ffb2b4 /arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | |
parent | 9caf39bfb98a59848ffe05f19a0bbab65220f7e5 (diff) | |
download | linux-38f151d410056149c0a539bbaa2873db4d3fc9a4.tar.xz |
ARM: dts: sun9i: cubieboard4: Add device node for AC100
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun9i-a80-cubieboard4.dts')
-rw-r--r-- | arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts index 1526b41c70f1..cf2f4b72a841 100644 --- a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts +++ b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts @@ -250,6 +250,30 @@ }; }; }; + + ac100: codec@e89 { + compatible = "x-powers,ac100"; + reg = <0xe89>; + + ac100_codec: codec { + compatible = "x-powers,ac100-codec"; + interrupt-parent = <&r_pio>; + interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PL9 */ + #clock-cells = <0>; + clock-output-names = "4M_adda"; + }; + + ac100_rtc: rtc { + compatible = "x-powers,ac100-rtc"; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + clocks = <&ac100_codec>; + #clock-cells = <1>; + clock-output-names = "cko1_rtc", + "cko2_rtc", + "cko3_rtc"; + }; + }; }; #include "axp809.dtsi" |