1*612616e6SSergio Paracuellos# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*612616e6SSergio Paracuellos%YAML 1.2 3*612616e6SSergio Paracuellos--- 4*612616e6SSergio Paracuellos$id: http://devicetree.org/schemas/clock/mediatek,mtmips-sysc.yaml# 5*612616e6SSergio Paracuellos$schema: http://devicetree.org/meta-schemas/core.yaml# 6*612616e6SSergio Paracuellos 7*612616e6SSergio Paracuellostitle: MTMIPS SoCs System Controller 8*612616e6SSergio Paracuellos 9*612616e6SSergio Paracuellosmaintainers: 10*612616e6SSergio Paracuellos - Sergio Paracuellos <sergio.paracuellos@gmail.com> 11*612616e6SSergio Paracuellos 12*612616e6SSergio Paracuellosdescription: | 13*612616e6SSergio Paracuellos MediaTek MIPS and Ralink SoCs provides a system controller to allow 14*612616e6SSergio Paracuellos to access to system control registers. These registers include clock 15*612616e6SSergio Paracuellos and reset related ones so this node is both clock and reset provider 16*612616e6SSergio Paracuellos for the rest of the world. 17*612616e6SSergio Paracuellos 18*612616e6SSergio Paracuellos These SoCs have an XTAL from where the cpu clock is 19*612616e6SSergio Paracuellos provided as well as derived clocks for the bus and the peripherals. 20*612616e6SSergio Paracuellos 21*612616e6SSergio Paracuellosproperties: 22*612616e6SSergio Paracuellos compatible: 23*612616e6SSergio Paracuellos items: 24*612616e6SSergio Paracuellos - enum: 25*612616e6SSergio Paracuellos - ralink,mt7620-sysc 26*612616e6SSergio Paracuellos - ralink,mt7628-sysc 27*612616e6SSergio Paracuellos - ralink,mt7688-sysc 28*612616e6SSergio Paracuellos - ralink,rt2880-sysc 29*612616e6SSergio Paracuellos - ralink,rt3050-sysc 30*612616e6SSergio Paracuellos - ralink,rt3052-sysc 31*612616e6SSergio Paracuellos - ralink,rt3352-sysc 32*612616e6SSergio Paracuellos - ralink,rt3883-sysc 33*612616e6SSergio Paracuellos - ralink,rt5350-sysc 34*612616e6SSergio Paracuellos - const: syscon 35*612616e6SSergio Paracuellos 36*612616e6SSergio Paracuellos reg: 37*612616e6SSergio Paracuellos maxItems: 1 38*612616e6SSergio Paracuellos 39*612616e6SSergio Paracuellos '#clock-cells': 40*612616e6SSergio Paracuellos description: 41*612616e6SSergio Paracuellos The first cell indicates the clock number. 42*612616e6SSergio Paracuellos const: 1 43*612616e6SSergio Paracuellos 44*612616e6SSergio Paracuellos '#reset-cells': 45*612616e6SSergio Paracuellos description: 46*612616e6SSergio Paracuellos The first cell indicates the reset bit within the register. 47*612616e6SSergio Paracuellos const: 1 48*612616e6SSergio Paracuellos 49*612616e6SSergio Paracuellosrequired: 50*612616e6SSergio Paracuellos - compatible 51*612616e6SSergio Paracuellos - reg 52*612616e6SSergio Paracuellos - '#clock-cells' 53*612616e6SSergio Paracuellos - '#reset-cells' 54*612616e6SSergio Paracuellos 55*612616e6SSergio ParacuellosadditionalProperties: false 56*612616e6SSergio Paracuellos 57*612616e6SSergio Paracuellosexamples: 58*612616e6SSergio Paracuellos - | 59*612616e6SSergio Paracuellos syscon@0 { 60*612616e6SSergio Paracuellos compatible = "ralink,rt5350-sysc", "syscon"; 61*612616e6SSergio Paracuellos reg = <0x0 0x100>; 62*612616e6SSergio Paracuellos #clock-cells = <1>; 63*612616e6SSergio Paracuellos #reset-cells = <1>; 64*612616e6SSergio Paracuellos }; 65