xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/atmel-hlcdc-pwm.txt (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
1Device-Tree bindings for Atmel's HLCDC (High-end LCD Controller) PWM driver
2
3The Atmel HLCDC PWM is subdevice of the HLCDC MFD device.
4See ../mfd/atmel-hlcdc.txt for more details.
5
6Required properties:
7 - compatible: value should be one of the following:
8   "atmel,hlcdc-pwm"
9 - pinctr-names: the pin control state names. Should contain "default".
10 - pinctrl-0: should contain the pinctrl states described by pinctrl
11   default.
12 - #pwm-cells: should be set to 3. This PWM chip use the default 3 cells
13   bindings defined in pwm.yaml in this directory.
14
15Example:
16
17	hlcdc: hlcdc@f0030000 {
18		compatible = "atmel,sama5d3-hlcdc";
19		reg = <0xf0030000 0x2000>;
20		clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
21		clock-names = "periph_clk","sys_clk", "slow_clk";
22
23		hlcdc_pwm: hlcdc-pwm {
24			compatible = "atmel,hlcdc-pwm";
25			pinctrl-names = "default";
26			pinctrl-0 = <&pinctrl_lcd_pwm>;
27			#pwm-cells = <3>;
28		};
29	};
30