@@ -311,6 +311,7 @@
ngpios = <32>;
gpio-controller;
#gpio-cells = <2>;
+ #pwm-cells = <2>;
gpio-ranges = <&CP11X_LABEL(pinctrl) 0 0 32>;
interrupt-controller;
interrupts = <86 IRQ_TYPE_LEVEL_HIGH>,
@@ -319,6 +320,8 @@
<83 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <2>;
status = "disabled";
+ clock-names = "core";
+ clocks = <&CP11X_LABEL(clk) 1 21>;
};
CP11X_LABEL(gpio2): gpio@140 {
@@ -327,6 +330,7 @@
ngpios = <31>;
gpio-controller;
#gpio-cells = <2>;
+ #pwm-cells = <2>;
gpio-ranges = <&CP11X_LABEL(pinctrl) 0 32 31>;
interrupt-controller;
interrupts = <82 IRQ_TYPE_LEVEL_HIGH>,
@@ -335,6 +339,8 @@
<79 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <2>;
status = "disabled";
+ clock-names = "core";
+ clocks = <&CP11X_LABEL(clk) 1 21>;
};
};
Add PWM support to the GPIO blocks. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)