ARM: dts: Amlogic updates for v5.2, round 2
- enable RTC on odroid-c1, ec100 - meson8: add internal clock measurer -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAly8f50ACgkQWTcYmtP7 xmXm5hAAkokZO8vwBu1m5IH90mJbrZQCEpwEP39lPzv56BdedasdLY9njfuBgvND vl6vdOiOIEHpI01E9xb1BaE0jTC4WrXIM9Mx44UD9GGmBi4Ht6HiOnaYwCngVbHo QN+OYasXNxBnLq+onDnWPyuL2voi8n6dw96EQ1/eR7w7zUiQK/XsavM5wmj9q8Lq 8SQCjCLA22jKzXj8BzHxKGlrmtZgX+W6DhJN01+1dVo1OsiLrD4Irk7rB/HVFWh1 41s4FDfv9srWnvGx7lYguPk+W0Gee2M4WSzz7NeRD6YfXKxur9R02qCPTe1/P5Yy LDtWk6cdTtbUvVrMB+MdlELHbTVZxvFb6b0xQqoeeZltn9ZP4YWsQdhdUS8OkYU5 rGcB4fPxvyJL3fgZQ5P9PNieoMx6OE/JUBQd5HUQ65vtV7pOxf1GoGHfKJ9Xpyzq djLgCVHZK3V0HUFioUwqPvkZs03lQLbC4tmV21PUqurX9si6mV7Bs5XIq1Jwjfxk urcXIuHp/hFyauvnNadtSmu38vnOy7qx71sch95aGGa1vum2RJegHIN3/iE+UwiJ hCxRBTKN/G5m5zadsl3EcmhbyYxQP/cK+x/vwOImRCOpPLrMf95rFo3LIq2pdwrA T90/Ya4t/rkwcbu4omkwwfs906fyaxZQdcPvwoBGZQmka7cVFc0= =uGAK -----END PGP SIGNATURE----- Merge tag 'amlogic-dt-2' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/dt ARM: dts: Amlogic updates for v5.2, round 2 - enable RTC on odroid-c1, ec100 - meson8: add internal clock measurer * tag 'amlogic-dt-2' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM: dts: meson8b: odroid-c1: prepare support for the RTC ARM: dts: meson8b: ec100: enable the RTC ARM: dts: meson: add support for the RTC Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
31c5d501b9
|
@ -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>,
|
||||
|
|
|
@ -88,6 +88,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
rtc32k_xtal: rtc32k-xtal-clk {
|
||||
/* X2 in the schematics */
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <32768>;
|
||||
clock-output-names = "RTC32K";
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
usb_vbus: regulator-usb-vbus {
|
||||
/*
|
||||
* Silergy SY6288CCAC-GP 2A Power Distribution Switch.
|
||||
|
@ -347,6 +355,12 @@
|
|||
clock-names = "clkin0";
|
||||
};
|
||||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
clocks = <&rtc32k_xtal>;
|
||||
vdd-supply = <&vcc_rtc>;
|
||||
};
|
||||
|
||||
/* exposed through the pin headers labeled "URDUG1" on the top of the PCB */
|
||||
&uart_AO {
|
||||
status = "okay";
|
||||
|
|
|
@ -124,6 +124,14 @@
|
|||
io-channels = <&saradc 8>;
|
||||
};
|
||||
|
||||
rtc32k_xtal: rtc32k-xtal-clk {
|
||||
/* X3 in the schematics */
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <32768>;
|
||||
clock-output-names = "RTC32K";
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
vcc_1v8: regulator-vcc-1v8 {
|
||||
/*
|
||||
* RICHTEK RT9179 configured for a fixed output voltage of
|
||||
|
@ -345,6 +353,12 @@
|
|||
clock-names = "clkin0";
|
||||
};
|
||||
|
||||
&rtc {
|
||||
/* needs to be enabled manually when a battery is connected */
|
||||
clocks = <&rtc32k_xtal>;
|
||||
vdd-supply = <&vdd_rtc>;
|
||||
};
|
||||
|
||||
&uart_AO {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&uart_ao_a_pins>;
|
||||
|
|
|
@ -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