mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-01 10:13:58 +08:00
ARM: dts: meson: add support for the RTC
The 32-bit Meson SoCs have an RTC block in the AO (always on) area. The RTC requires an external 32.768 kHz oscillator to work properly. Whether or not this crystal exists depends on the board, so it has to be added for each board.dts (instead of adding it somewhere in a generic .dtsi). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:
parent
07f9da2900
commit
f6eb973db2
@ -252,6 +252,15 @@
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
rtc: rtc@740 {
|
||||
compatible = "amlogic,meson6-rtc";
|
||||
reg = <0x740 0x14>;
|
||||
interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
usb0: usb@c9040000 {
|
||||
|
@ -541,6 +541,11 @@
|
||||
compatible = "amlogic,meson8-pwm", "amlogic,meson8b-pwm";
|
||||
};
|
||||
|
||||
&rtc {
|
||||
compatible = "amlogic,meson8-rtc";
|
||||
resets = <&reset RESET_RTC>;
|
||||
};
|
||||
|
||||
&saradc {
|
||||
compatible = "amlogic,meson8-saradc", "amlogic,meson-saradc";
|
||||
clocks = <&clkc CLKID_XTAL>,
|
||||
|
@ -510,6 +510,11 @@
|
||||
compatible = "amlogic,meson8b-pwm";
|
||||
};
|
||||
|
||||
&rtc {
|
||||
compatible = "amlogic,meson8b-rtc";
|
||||
resets = <&reset RESET_RTC>;
|
||||
};
|
||||
|
||||
&saradc {
|
||||
compatible = "amlogic,meson8b-saradc", "amlogic,meson-saradc";
|
||||
clocks = <&clkc CLKID_XTAL>,
|
||||
|
Loading…
Reference in New Issue
Block a user