diff options
| -rw-r--r-- | arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 4 | ||||
| -rw-r--r-- | arch/riscv/boot/dts/sophgo/sg2044.dtsi | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts index 01340f21848f..b50c3a872d8b 100644 --- a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts +++ b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts @@ -63,6 +63,10 @@ }; }; +&pwm { + status = "okay"; +}; + &sd { bus-width = <4>; no-sdio; diff --git a/arch/riscv/boot/dts/sophgo/sg2044.dtsi b/arch/riscv/boot/dts/sophgo/sg2044.dtsi index b65e491deb8f..f88cabe75790 100644 --- a/arch/riscv/boot/dts/sophgo/sg2044.dtsi +++ b/arch/riscv/boot/dts/sophgo/sg2044.dtsi @@ -347,6 +347,16 @@ }; }; + pwm: pwm@704000c000 { + compatible = "sophgo,sg2044-pwm"; + reg = <0x70 0x4000c000 0x0 0x1000>; + #pwm-cells = <3>; + clocks = <&clk CLK_GATE_APB_PWM>; + clock-names = "apb"; + resets = <&rst RST_PWM>; + status = "disabled"; + }; + syscon: syscon@7050000000 { compatible = "sophgo,sg2044-top-syscon", "syscon"; reg = <0x70 0x50000000 0x0 0x1000>; |
