37 lines
667 B
Plaintext
37 lines
667 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
compatible = "allwinner,sun7i-a20";
|
|
description = "Enable PWM controller";
|
|
|
|
fragment@0 {
|
|
target = <&pio>;
|
|
__overlay__ {
|
|
pwm0_pin: pwm0-pin {
|
|
pins = "PB2";
|
|
function = "pwm";
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target = <&pio>;
|
|
__overlay__ {
|
|
pwm1_pin: pwm1-pin {
|
|
pins = "PI3";
|
|
function = "pwm";
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@2 {
|
|
target = <&pwm>;
|
|
__overlay__ {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pwm0_pin>, <&pwm1_pin>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|