1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 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/pwm/pwm-bcm 4 $id: http://devicetree.org/schemas/pwm/pwm-bcm2835.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: BCM2835 PWM controller (Raspberry Pi co 7 title: BCM2835 PWM controller (Raspberry Pi controller) 8 8 9 maintainers: 9 maintainers: 10 - Stefan Wahren <stefan.wahren@i2se.com> 10 - Stefan Wahren <stefan.wahren@i2se.com> 11 11 12 allOf: 12 allOf: 13 - $ref: pwm.yaml# 13 - $ref: pwm.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: brcm,bcm2835-pwm 17 const: brcm,bcm2835-pwm 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 clocks: 22 clocks: 23 maxItems: 1 23 maxItems: 1 24 24 25 "#pwm-cells": 25 "#pwm-cells": 26 const: 3 26 const: 3 27 27 28 required: 28 required: 29 - compatible 29 - compatible 30 - reg 30 - reg 31 - clocks 31 - clocks 32 32 33 additionalProperties: false 33 additionalProperties: false 34 34 35 examples: 35 examples: 36 - | 36 - | 37 pwm@2020c000 { 37 pwm@2020c000 { 38 compatible = "brcm,bcm2835-pwm"; 38 compatible = "brcm,bcm2835-pwm"; 39 reg = <0x2020c000 0x28>; 39 reg = <0x2020c000 0x28>; 40 clocks = <&clk_pwm>; 40 clocks = <&clk_pwm>; 41 #pwm-cells = <3>; 41 #pwm-cells = <3>; 42 }; 42 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.