1*75c7aaa6SKunihiko Hayashi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*75c7aaa6SKunihiko Hayashi%YAML 1.2 3*75c7aaa6SKunihiko Hayashi--- 4*75c7aaa6SKunihiko Hayashi$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sysctrl.yaml# 5*75c7aaa6SKunihiko Hayashi$schema: http://devicetree.org/meta-schemas/core.yaml# 6*75c7aaa6SKunihiko Hayashi 7*75c7aaa6SKunihiko Hayashititle: Socionext UniPhier system controller 8*75c7aaa6SKunihiko Hayashi 9*75c7aaa6SKunihiko Hayashimaintainers: 10*75c7aaa6SKunihiko Hayashi - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 11*75c7aaa6SKunihiko Hayashi 12*75c7aaa6SKunihiko Hayashidescription: |+ 13*75c7aaa6SKunihiko Hayashi System controller implemented on Socionext UniPhier SoCs has multiple 14*75c7aaa6SKunihiko Hayashi functions such as clock control, reset control, internal watchdog timer, 15*75c7aaa6SKunihiko Hayashi thermal management, and so on. 16*75c7aaa6SKunihiko Hayashi 17*75c7aaa6SKunihiko Hayashiproperties: 18*75c7aaa6SKunihiko Hayashi compatible: 19*75c7aaa6SKunihiko Hayashi items: 20*75c7aaa6SKunihiko Hayashi - enum: 21*75c7aaa6SKunihiko Hayashi - socionext,uniphier-ld4-sysctrl 22*75c7aaa6SKunihiko Hayashi - socionext,uniphier-pro4-sysctrl 23*75c7aaa6SKunihiko Hayashi - socionext,uniphier-pro5-sysctrl 24*75c7aaa6SKunihiko Hayashi - socionext,uniphier-pxs2-sysctrl 25*75c7aaa6SKunihiko Hayashi - socionext,uniphier-sld8-sysctrl 26*75c7aaa6SKunihiko Hayashi - socionext,uniphier-ld11-sysctrl 27*75c7aaa6SKunihiko Hayashi - socionext,uniphier-ld20-sysctrl 28*75c7aaa6SKunihiko Hayashi - socionext,uniphier-pxs3-sysctrl 29*75c7aaa6SKunihiko Hayashi - socionext,uniphier-nx1-sysctrl 30*75c7aaa6SKunihiko Hayashi - const: simple-mfd 31*75c7aaa6SKunihiko Hayashi - const: syscon 32*75c7aaa6SKunihiko Hayashi 33*75c7aaa6SKunihiko Hayashi reg: 34*75c7aaa6SKunihiko Hayashi maxItems: 1 35*75c7aaa6SKunihiko Hayashi 36*75c7aaa6SKunihiko Hayashi clock-controller: 37*75c7aaa6SKunihiko Hayashi $ref: /schemas/clock/socionext,uniphier-clock.yaml# 38*75c7aaa6SKunihiko Hayashi 39*75c7aaa6SKunihiko Hayashi reset-controller: 40*75c7aaa6SKunihiko Hayashi $ref: /schemas/reset/socionext,uniphier-reset.yaml# 41*75c7aaa6SKunihiko Hayashi 42*75c7aaa6SKunihiko Hayashi watchdog: 43*75c7aaa6SKunihiko Hayashi $ref: /schemas/watchdog/socionext,uniphier-wdt.yaml# 44*75c7aaa6SKunihiko Hayashi 45*75c7aaa6SKunihiko Hayashi thermal-sensor: 46*75c7aaa6SKunihiko Hayashi $ref: /schemas/thermal/socionext,uniphier-thermal.yaml# 47*75c7aaa6SKunihiko Hayashi 48*75c7aaa6SKunihiko HayashiallOf: 49*75c7aaa6SKunihiko Hayashi - if: 50*75c7aaa6SKunihiko Hayashi properties: 51*75c7aaa6SKunihiko Hayashi compatible: 52*75c7aaa6SKunihiko Hayashi contains: 53*75c7aaa6SKunihiko Hayashi const: socionext,uniphier-ld4-sysctrl 54*75c7aaa6SKunihiko Hayashi then: 55*75c7aaa6SKunihiko Hayashi properties: 56*75c7aaa6SKunihiko Hayashi watchdog: false 57*75c7aaa6SKunihiko Hayashi 58*75c7aaa6SKunihiko Hayashi - if: 59*75c7aaa6SKunihiko Hayashi properties: 60*75c7aaa6SKunihiko Hayashi compatible: 61*75c7aaa6SKunihiko Hayashi contains: 62*75c7aaa6SKunihiko Hayashi enum: 63*75c7aaa6SKunihiko Hayashi - socionext,uniphier-ld4-sysctrl 64*75c7aaa6SKunihiko Hayashi - socionext,uniphier-pro4-sysctrl 65*75c7aaa6SKunihiko Hayashi - socionext,uniphier-sld8-sysctrl 66*75c7aaa6SKunihiko Hayashi - socionext,uniphier-ld11-sysctrl 67*75c7aaa6SKunihiko Hayashi then: 68*75c7aaa6SKunihiko Hayashi properties: 69*75c7aaa6SKunihiko Hayashi thermal-sensor: false 70*75c7aaa6SKunihiko Hayashi 71*75c7aaa6SKunihiko HayashiadditionalProperties: false 72*75c7aaa6SKunihiko Hayashi 73*75c7aaa6SKunihiko Hayashirequired: 74*75c7aaa6SKunihiko Hayashi - compatible 75*75c7aaa6SKunihiko Hayashi - reg 76*75c7aaa6SKunihiko Hayashi 77*75c7aaa6SKunihiko Hayashiexamples: 78*75c7aaa6SKunihiko Hayashi - | 79*75c7aaa6SKunihiko Hayashi #include <dt-bindings/interrupt-controller/arm-gic.h> 80*75c7aaa6SKunihiko Hayashi syscon@61840000 { 81*75c7aaa6SKunihiko Hayashi compatible = "socionext,uniphier-ld20-sysctrl", 82*75c7aaa6SKunihiko Hayashi "simple-mfd", "syscon"; 83*75c7aaa6SKunihiko Hayashi reg = <0x61840000 0x4000>; 84*75c7aaa6SKunihiko Hayashi 85*75c7aaa6SKunihiko Hayashi clock-controller { 86*75c7aaa6SKunihiko Hayashi compatible = "socionext,uniphier-ld20-clock"; 87*75c7aaa6SKunihiko Hayashi #clock-cells = <1>; 88*75c7aaa6SKunihiko Hayashi }; 89*75c7aaa6SKunihiko Hayashi 90*75c7aaa6SKunihiko Hayashi reset-controller { 91*75c7aaa6SKunihiko Hayashi compatible = "socionext,uniphier-ld20-reset"; 92*75c7aaa6SKunihiko Hayashi #reset-cells = <1>; 93*75c7aaa6SKunihiko Hayashi }; 94*75c7aaa6SKunihiko Hayashi 95*75c7aaa6SKunihiko Hayashi watchdog { 96*75c7aaa6SKunihiko Hayashi compatible = "socionext,uniphier-wdt"; 97*75c7aaa6SKunihiko Hayashi }; 98*75c7aaa6SKunihiko Hayashi 99*75c7aaa6SKunihiko Hayashi thermal-sensor { 100*75c7aaa6SKunihiko Hayashi compatible = "socionext,uniphier-ld20-thermal"; 101*75c7aaa6SKunihiko Hayashi interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 102*75c7aaa6SKunihiko Hayashi #thermal-sensor-cells = <0>; 103*75c7aaa6SKunihiko Hayashi }; 104*75c7aaa6SKunihiko Hayashi }; 105