Searched +full:ls2k1000 +full:- +full:rtc (Results 1 – 3 of 3) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/rtc/loongson,rtc.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Loongson Real-Time Clock10 The Loongson family chips use an on-chip counter 0 (Time Of Year11 counter) as the RTC.14 - Binbin Zhou <zhoubinbin@loongson.cn>17 - $ref: rtc.yaml#22 - enum:[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * Loongson RTC driver5 * Maintained out-of-tree by Huacai Chen <chenhuacai@kernel.org>.15 #include <linux/rtc.h>20 #define TOY_WRITE0_REG 0x24 /* TOY low 32-bits value (write-only) */21 #define TOY_WRITE1_REG 0x28 /* TOY high 32-bits value (write-only) */22 #define TOY_READ0_REG 0x2c /* TOY low 32-bits value (read-only) */23 #define TOY_READ1_REG 0x30 /* TOY high 32-bits value (read-only) */28 /* RTC counters registers */29 #define RTC_CTRL_REG 0x40 /* TOY and RTC control register */[all …]
1 // SPDX-License-Identifier: GPL-2.03 /dts-v1/;5 #include <dt-bindings/interrupt-controller/irq.h>10 #address-cells = <2>;11 #size-cells = <2>;14 #address-cells = <1>;15 #size-cells = <0>;21 #clock-cells = <1>;27 #clock-cells = <0>;28 compatible = "fixed-clock";[all …]