Commit 1c431b92 authored by Javier Carrasco's avatar Javier Carrasco Committed by Alexandre Belloni
Browse files

dt-bindings: rtc: convert trivial devices into dtschema



These RTCs meet the requirements for a direct conversion into
trivial-rtc:

- google,goldfish-rtc
- maxim,ds1742
- lpc32xx-rtc
- orion-rtc
- rtc-aspeed
- spear-rtc
- via,vt8500-rtc

Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarAndrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240413-rtc_dtschema-v3-2-eff368bcc471@gmail.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent c3a0ee85
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
Android Goldfish RTC

Android Goldfish RTC device used by Android emulator.

Required properties:

- compatible : should contain "google,goldfish-rtc"
- reg        : <registers mapping>
- interrupts : <interrupt mapping>

Example:

	goldfish_timer@9020000 {
		compatible = "google,goldfish-rtc";
		reg = <0x9020000 0x1000>;
		interrupts = <0x3>;
	};
+0 −15
Original line number Diff line number Diff line
* NXP LPC32xx SoC Real Time Clock controller

Required properties:
- compatible: must be "nxp,lpc3220-rtc"
- reg: physical base address of the controller and length of memory mapped
  region.
- interrupts: The RTC interrupt

Example:

	rtc@40024000 {
		compatible = "nxp,lpc3220-rtc";
		reg = <0x40024000 0x1000>;
		interrupts = <52 0>;
	};
+0 −12
Original line number Diff line number Diff line
* Maxim (Dallas) DS1742/DS1743 Real Time Clock

Required properties:
- compatible: Should contain "maxim,ds1742".
- reg: Physical base address of the RTC and length of memory
  mapped region.

Example:
	rtc: rtc@10000000 {
		compatible = "maxim,ds1742";
		reg = <0x10000000 0x800>;
	};
+0 −18
Original line number Diff line number Diff line
* Mvebu Real Time Clock

RTC controller for the Kirkwood, the Dove, the Armada 370 and the
Armada XP SoCs

Required properties:
- compatible : Should be "marvell,orion-rtc"
- reg: physical base address of the controller and length of memory mapped
  region.
- interrupts: IRQ line for the RTC.

Example:

rtc@10300 {
        compatible = "marvell,orion-rtc";
        reg = <0xd0010300 0x20>;
        interrupts = <50>;
};
+0 −22
Original line number Diff line number Diff line
ASPEED BMC RTC
==============

Required properties:
 - compatible: should be one of the following
   * aspeed,ast2400-rtc for the ast2400
   * aspeed,ast2500-rtc for the ast2500
   * aspeed,ast2600-rtc for the ast2600

 - reg: physical base address of the controller and length of memory mapped
   region

 - interrupts: The interrupt number

Example:

   rtc@1e781000 {
           compatible = "aspeed,ast2400-rtc";
           reg = <0x1e781000 0x18>;
           interrupts = <22>;
           status = "disabled";
   };
Loading