1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2*8bab661aSEmmanuel Vadot%YAML 1.2 3*8bab661aSEmmanuel Vadot--- 4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/slimbus/qcom,slim.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Qualcomm SoC SLIMbus controller 8*8bab661aSEmmanuel Vadot 9*8bab661aSEmmanuel Vadotmaintainers: 10*8bab661aSEmmanuel Vadot - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11*8bab661aSEmmanuel Vadot - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 12*8bab661aSEmmanuel Vadot 13*8bab661aSEmmanuel Vadotdescription: 14*8bab661aSEmmanuel Vadot SLIMbus controller used when applications processor controls SLIMbus master 15*8bab661aSEmmanuel Vadot component. 16*8bab661aSEmmanuel Vadot 17*8bab661aSEmmanuel VadotallOf: 18*8bab661aSEmmanuel Vadot - $ref: slimbus.yaml# 19*8bab661aSEmmanuel Vadot 20*8bab661aSEmmanuel Vadotproperties: 21*8bab661aSEmmanuel Vadot compatible: 22*8bab661aSEmmanuel Vadot items: 23*8bab661aSEmmanuel Vadot - enum: 24*8bab661aSEmmanuel Vadot - qcom,apq8064-slim 25*8bab661aSEmmanuel Vadot - const: qcom,slim 26*8bab661aSEmmanuel Vadot 27*8bab661aSEmmanuel Vadot reg: 28*8bab661aSEmmanuel Vadot items: 29*8bab661aSEmmanuel Vadot - description: Physical address of controller register blocks 30*8bab661aSEmmanuel Vadot - description: SLEW RATE register 31*8bab661aSEmmanuel Vadot 32*8bab661aSEmmanuel Vadot reg-names: 33*8bab661aSEmmanuel Vadot items: 34*8bab661aSEmmanuel Vadot - const: ctrl 35*8bab661aSEmmanuel Vadot - const: slew 36*8bab661aSEmmanuel Vadot 37*8bab661aSEmmanuel Vadot clocks: 38*8bab661aSEmmanuel Vadot items: 39*8bab661aSEmmanuel Vadot - description: Interface clock for this controller 40*8bab661aSEmmanuel Vadot - description: Interrupt for controller core's BAM 41*8bab661aSEmmanuel Vadot 42*8bab661aSEmmanuel Vadot clock-names: 43*8bab661aSEmmanuel Vadot items: 44*8bab661aSEmmanuel Vadot - const: iface 45*8bab661aSEmmanuel Vadot - const: core 46*8bab661aSEmmanuel Vadot 47*8bab661aSEmmanuel Vadot interrupts: 48*8bab661aSEmmanuel Vadot maxItems: 1 49*8bab661aSEmmanuel Vadot 50*8bab661aSEmmanuel Vadotrequired: 51*8bab661aSEmmanuel Vadot - compatible 52*8bab661aSEmmanuel Vadot - reg 53*8bab661aSEmmanuel Vadot - reg-names 54*8bab661aSEmmanuel Vadot - clocks 55*8bab661aSEmmanuel Vadot - clock-names 56*8bab661aSEmmanuel Vadot - interrupts 57*8bab661aSEmmanuel Vadot 58*8bab661aSEmmanuel VadotunevaluatedProperties: false 59*8bab661aSEmmanuel Vadot 60*8bab661aSEmmanuel Vadotexamples: 61*8bab661aSEmmanuel Vadot - | 62*8bab661aSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-msm8960.h> 63*8bab661aSEmmanuel Vadot #include <dt-bindings/clock/qcom,lcc-msm8960.h> 64*8bab661aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 65*8bab661aSEmmanuel Vadot 66*8bab661aSEmmanuel Vadot soc { 67*8bab661aSEmmanuel Vadot #address-cells = <1>; 68*8bab661aSEmmanuel Vadot #size-cells = <1>; 69*8bab661aSEmmanuel Vadot ranges; 70*8bab661aSEmmanuel Vadot 71*8bab661aSEmmanuel Vadot slim@28080000 { 72*8bab661aSEmmanuel Vadot compatible = "qcom,apq8064-slim", "qcom,slim"; 73*8bab661aSEmmanuel Vadot reg = <0x28080000 0x2000>, <0x80207c 4>; 74*8bab661aSEmmanuel Vadot reg-names = "ctrl", "slew"; 75*8bab661aSEmmanuel Vadot interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 76*8bab661aSEmmanuel Vadot clocks = <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; 77*8bab661aSEmmanuel Vadot clock-names = "iface", "core"; 78*8bab661aSEmmanuel Vadot #address-cells = <2>; 79*8bab661aSEmmanuel Vadot #size-cells = <0>; 80*8bab661aSEmmanuel Vadot 81*8bab661aSEmmanuel Vadot audio-codec@1,0 { 82*8bab661aSEmmanuel Vadot compatible = "slim217,60"; 83*8bab661aSEmmanuel Vadot reg = <1 0>; 84*8bab661aSEmmanuel Vadot }; 85*8bab661aSEmmanuel Vadot }; 86*8bab661aSEmmanuel Vadot }; 87