Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) $id: http://devicetree.org/schemas/rtc/s3c-rtc.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) title: Samsung S3C, S5P and Exynos Real Time Clock controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)   - Krzysztof Kozlowski <krzk@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)   compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)     oneOf:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)       - enum:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)           - samsung,s3c2410-rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)           - samsung,s3c2416-rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)           - samsung,s3c2443-rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)           - samsung,s3c6410-rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)       - const: samsung,exynos3250-rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)         deprecated: true
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)   reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)     maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)   clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)     description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)       Must contain a list of phandle and clock specifier for the rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)       clock and in the case of a s3c6410 compatible controller, also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)       a source clock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)     minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)     maxItems: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)   clock-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)     description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)       Must contain "rtc" and for a s3c6410 compatible controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)       also "rtc_src".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)     minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)     maxItems: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)   interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)     description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)       Two interrupt numbers to the cpu should be specified. First
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)       interrupt number is the rtc alarm interrupt and second interrupt number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)       is the rtc tick interrupt. The number of cells representing a interrupt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)       depends on the parent interrupt controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)     minItems: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)     maxItems: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) allOf:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)   - $ref: rtc.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)   - if:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)       properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)         compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)           contains:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)             enum:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)               - samsung,s3c6410-rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)               - samsung,exynos3250-rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)     then:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)       properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)         clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)           minItems: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)           maxItems: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)         clock-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)           items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)             - const: rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)             - const: rtc_src
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)     else:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)       properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)         clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)           minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)           maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)         clock-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)           items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)             - const: rtc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) unevaluatedProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)   - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)     #include <dt-bindings/clock/exynos5420.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82)     #include <dt-bindings/clock/samsung,s2mps11.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)     rtc@10070000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)         compatible = "samsung,s3c6410-rtc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)         reg = <0x10070000 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)         interrupts = <0 44 4>, <0 45 4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)         clocks = <&clock CLK_RTC>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)                  <&s2mps11_osc S2MPS11_CLK_AP>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)         clock-names = "rtc", "rtc_src";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)     };