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>
This commit is contained in:
parent
6ff33f3902
commit
8aa5f09df0
2 changed files with 12 additions and 2 deletions
|
@ -585,7 +585,6 @@
|
||||||
/* COMMS PWM Module */
|
/* COMMS PWM Module */
|
||||||
pwm0: pwm@9810000 {
|
pwm0: pwm@9810000 {
|
||||||
compatible = "st,sti-pwm";
|
compatible = "st,sti-pwm";
|
||||||
status = "okay";
|
|
||||||
#pwm-cells = <2>;
|
#pwm-cells = <2>;
|
||||||
reg = <0x9810000 0x68>;
|
reg = <0x9810000 0x68>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
@ -593,12 +592,13 @@
|
||||||
clock-names = "pwm";
|
clock-names = "pwm";
|
||||||
clocks = <&clk_sysin>;
|
clocks = <&clk_sysin>;
|
||||||
st,pwm-num-chan = <1>;
|
st,pwm-num-chan = <1>;
|
||||||
|
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* SBC PWM Module */
|
/* SBC PWM Module */
|
||||||
pwm1: pwm@9510000 {
|
pwm1: pwm@9510000 {
|
||||||
compatible = "st,sti-pwm";
|
compatible = "st,sti-pwm";
|
||||||
status = "okay";
|
|
||||||
#pwm-cells = <2>;
|
#pwm-cells = <2>;
|
||||||
reg = <0x9510000 0x68>;
|
reg = <0x9510000 0x68>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
@ -609,6 +609,8 @@
|
||||||
clock-names = "pwm";
|
clock-names = "pwm";
|
||||||
clocks = <&clk_sysin>;
|
clocks = <&clk_sysin>;
|
||||||
st,pwm-num-chan = <4>;
|
st,pwm-num-chan = <4>;
|
||||||
|
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,6 +27,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pwm0: pwm@9810000 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
pwm1: pwm@9510000 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
i2c@9842000 {
|
i2c@9842000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue