Commit 9205a7ad authored by Olof Johansson's avatar Olof Johansson

Merge tag 'v4.4-next-arm64' of https://github.com/mbgg/linux-mediatek into next/dt64

Update psci support to the arm,psci-1.0 to mt8173

Add display PWM driver to mt8173

Add mediatek general porpose timer to mt8173

* tag 'v4.4-next-arm64' of https://github.com/mbgg/linux-mediatek:
  arm64: dts: mediatek: mt8173 PSCI-1.0 support
  arm64: dts: mt8173: add MT8173 display PWM driver support node
  arm64: dts: mt8173: add timer node
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents 43ff5eaf 05bdabe7
...@@ -92,6 +92,13 @@ &mmc1 { ...@@ -92,6 +92,13 @@ &mmc1 {
}; };
&pio { &pio {
disp_pwm0_pins: disp_pwm0_pins {
pins1 {
pinmux = <MT8173_PIN_87_DISP_PWM0__FUNC_DISP_PWM0>;
output-low;
};
};
mmc0_pins_default: mmc0default { mmc0_pins_default: mmc0default {
pins_cmd_dat { pins_cmd_dat {
pinmux = <MT8173_PIN_57_MSDC0_DAT0__FUNC_MSDC0_DAT0>, pinmux = <MT8173_PIN_57_MSDC0_DAT0__FUNC_MSDC0_DAT0>,
...@@ -190,6 +197,12 @@ pins_clk { ...@@ -190,6 +197,12 @@ pins_clk {
}; };
}; };
&pwm0 {
pinctrl-names = "default";
pinctrl-0 = <&disp_pwm0_pins>;
status = "okay";
};
&pwrap { &pwrap {
pmic: mt6397 { pmic: mt6397 {
compatible = "mediatek,mt6397"; compatible = "mediatek,mt6397";
......
...@@ -95,7 +95,7 @@ CPU_SLEEP_0: cpu-sleep-0 { ...@@ -95,7 +95,7 @@ CPU_SLEEP_0: cpu-sleep-0 {
}; };
psci { psci {
compatible = "arm,psci"; compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci";
method = "smc"; method = "smc";
cpu_suspend = <0x84000001>; cpu_suspend = <0x84000001>;
cpu_off = <0x84000002>; cpu_off = <0x84000002>;
...@@ -247,6 +247,15 @@ watchdog: watchdog@10007000 { ...@@ -247,6 +247,15 @@ watchdog: watchdog@10007000 {
reg = <0 0x10007000 0 0x100>; reg = <0 0x10007000 0 0x100>;
}; };
timer: timer@10008000 {
compatible = "mediatek,mt8173-timer",
"mediatek,mt6577-timer";
reg = <0 0x10008000 0 0x1000>;
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
clocks = <&infracfg CLK_INFRA_CLK_13M>,
<&topckgen CLK_TOP_RTC_SEL>;
};
pwrap: pwrap@1000d000 { pwrap: pwrap@1000d000 {
compatible = "mediatek,mt8173-pwrap"; compatible = "mediatek,mt8173-pwrap";
reg = <0 0x1000d000 0 0x1000>; reg = <0 0x1000d000 0 0x1000>;
...@@ -516,6 +525,28 @@ mmsys: clock-controller@14000000 { ...@@ -516,6 +525,28 @@ mmsys: clock-controller@14000000 {
#clock-cells = <1>; #clock-cells = <1>;
}; };
pwm0: pwm@1401e000 {
compatible = "mediatek,mt8173-disp-pwm",
"mediatek,mt6595-disp-pwm";
reg = <0 0x1401e000 0 0x1000>;
#pwm-cells = <2>;
clocks = <&mmsys CLK_MM_DISP_PWM026M>,
<&mmsys CLK_MM_DISP_PWM0MM>;
clock-names = "main", "mm";
status = "disabled";
};
pwm1: pwm@1401f000 {
compatible = "mediatek,mt8173-disp-pwm",
"mediatek,mt6595-disp-pwm";
reg = <0 0x1401f000 0 0x1000>;
#pwm-cells = <2>;
clocks = <&mmsys CLK_MM_DISP_PWM126M>,
<&mmsys CLK_MM_DISP_PWM1MM>;
clock-names = "main", "mm";
status = "disabled";
};
imgsys: clock-controller@15000000 { imgsys: clock-controller@15000000 {
compatible = "mediatek,mt8173-imgsys", "syscon"; compatible = "mediatek,mt8173-imgsys", "syscon";
reg = <0 0x15000000 0 0x1000>; reg = <0 0x15000000 0 0x1000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment