1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/hwlock/sprd 4 $id: http://devicetree.org/schemas/hwlock/sprd,hwspinlock-r3p0.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Spreadtrum hardware spinlock 7 title: Spreadtrum hardware spinlock 8 8 9 maintainers: 9 maintainers: 10 - Orson Zhai <orsonzhai@gmail.com> 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 13 13 14 properties: 14 properties: 15 compatible: 15 compatible: 16 const: sprd,hwspinlock-r3p0 16 const: sprd,hwspinlock-r3p0 17 17 18 reg: 18 reg: 19 maxItems: 1 19 maxItems: 1 20 20 21 clocks: 21 clocks: 22 maxItems: 1 22 maxItems: 1 23 23 24 clock-names: 24 clock-names: 25 const: enable 25 const: enable 26 26 27 '#hwlock-cells': 27 '#hwlock-cells': 28 const: 1 28 const: 1 29 29 30 required: 30 required: 31 - compatible 31 - compatible 32 - reg 32 - reg 33 - clocks 33 - clocks 34 - clock-names 34 - clock-names 35 - '#hwlock-cells' 35 - '#hwlock-cells' 36 36 37 additionalProperties: false 37 additionalProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 #include <dt-bindings/clock/sprd,sc9860-cl 41 #include <dt-bindings/clock/sprd,sc9860-clk.h> 42 42 43 hwlock@40500000 { 43 hwlock@40500000 { 44 compatible = "sprd,hwspinlock-r3p0"; 44 compatible = "sprd,hwspinlock-r3p0"; 45 reg = <0x40500000 0x1000>; 45 reg = <0x40500000 0x1000>; 46 clocks = <&aon_gate CLK_SPLK_EB>; 46 clocks = <&aon_gate CLK_SPLK_EB>; 47 clock-names = "enable"; 47 clock-names = "enable"; 48 #hwlock-cells = <1>; 48 #hwlock-cells = <1>; 49 }; 49 }; 50 ... 50 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.