1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Cl 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/slimbus/sli 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: SLIM (Serial Low Power Interchip Media) 8 9 maintainers: 10 - Srinivas Kandagatla <srinivas.kandagatla@li 11 12 description: 13 SLIMbus is a 2-wire bus, and is used to comm 14 components like audio-codec. 15 16 properties: 17 $nodename: 18 pattern: "^slim(@.*|-([0-9]|[1-9][0-9]+))? 19 20 "#address-cells": 21 const: 2 22 23 "#size-cells": 24 const: 0 25 26 patternProperties: 27 "^.*@[0-9a-f]+,[0-9a-f]+$": 28 type: object 29 description: | 30 Every SLIMbus controller node can contai 31 representing slave devices on the bus. E 32 uniquely determined by the enumeration a 33 Manufacturer ID, Product code, Device in 34 device. 35 36 If child node is not present and it is i 37 discovery (slave device reporting itself 38 39 In some cases it may be necessary to des 40 details such as non-standard ways of pow 41 child nodes for those devices will be pr 42 controller. 43 44 properties: 45 compatible: 46 pattern: "^slim[0-9a-f]+,[0-9a-f]+$" 47 48 reg: 49 maxItems: 1 50 description: | 51 Pair of (device index, instande ID), 52 - Device index, which uniquely iden 53 single component. 54 - Instance ID, can be used for the 55 the same type or class are attach 56 57 required: 58 - compatible 59 - reg 60 61 additionalProperties: true 62 63 required: 64 - "#address-cells" 65 - "#size-cells" 66 67 additionalProperties: true 68 69 examples: 70 - | 71 #include <dt-bindings/clock/qcom,gcc-msm89 72 #include <dt-bindings/clock/qcom,lcc-msm89 73 #include <dt-bindings/interrupt-controller 74 75 soc { 76 #address-cells = <1>; 77 #size-cells = <1>; 78 ranges; 79 80 slim@28080000 { 81 compatible = "qcom,apq8064-slim", 82 reg = <0x28080000 0x2000>, <0x8020 83 reg-names = "ctrl", "slew"; 84 interrupts = <GIC_SPI 33 IRQ_TYPE_ 85 clocks = <&lcc SLIMBUS_SRC>, <&lcc 86 clock-names = "iface", "core"; 87 #address-cells = <2>; 88 #size-cells = <0>; 89 90 audio-codec@1,0 { 91 compatible = "slim217,60"; 92 reg = <1 0>; 93 }; 94 }; 95 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.