Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stih407: Enable PWM nodes only board level

The PWM may not be used on some boards, so enable them only the board file.

Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>

+12 -2
+4 -2
arch/arm/boot/dts/stih407-family.dtsi
··· 585 585 /* COMMS PWM Module */ 586 586 pwm0: pwm@9810000 { 587 587 compatible = "st,sti-pwm"; 588 - status = "okay"; 589 588 #pwm-cells = <2>; 590 589 reg = <0x9810000 0x68>; 591 590 pinctrl-names = "default"; ··· 592 593 clock-names = "pwm"; 593 594 clocks = <&clk_sysin>; 594 595 st,pwm-num-chan = <1>; 596 + 597 + status = "disabled"; 595 598 }; 596 599 597 600 /* SBC PWM Module */ 598 601 pwm1: pwm@9510000 { 599 602 compatible = "st,sti-pwm"; 600 - status = "okay"; 601 603 #pwm-cells = <2>; 602 604 reg = <0x9510000 0x68>; 603 605 pinctrl-names = "default"; ··· 609 609 clock-names = "pwm"; 610 610 clocks = <&clk_sysin>; 611 611 st,pwm-num-chan = <4>; 612 + 613 + status = "disabled"; 612 614 }; 613 615 }; 614 616 };
+8
arch/arm/boot/dts/stihxxx-b2120.dtsi
··· 27 27 }; 28 28 }; 29 29 30 + pwm0: pwm@9810000 { 31 + status = "okay"; 32 + }; 33 + 34 + pwm1: pwm@9510000 { 35 + status = "okay"; 36 + }; 37 + 30 38 i2c@9842000 { 31 39 status = "okay"; 32 40 };