Commit 9440d8ac authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'v5.8-rockchip-dts32-1' of...

Merge tag 'v5.8-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt

RGA node for rk322x, wifi node for rk3229-xms6 and some cleanups.

* tag 'v5.8-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: add rga node for rk322x
  ARM: dts: remove disable-wp from rk3229-xms6 emmc
  ARM: dts: enable WLAN for Mecer Xtreme Mini S6
  ARM: dts: rockchip: remove identical #include from rk3288.dtsi
  ARM: dts: rockchip: rename and label gpio-led subnodes

Link: https://lore.kernel.org/r/3735080.6Cexqc3t0Y@philSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents f0c59fd9 54b1a4e0
...@@ -16,7 +16,7 @@ memory@60000000 { ...@@ -16,7 +16,7 @@ memory@60000000 {
leds: gpio-leds { leds: gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
work { work_led: led-0 {
gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>; gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
label = "kylin:red:led"; label = "kylin:red:led";
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -22,7 +22,7 @@ memory@60000000 { ...@@ -22,7 +22,7 @@ memory@60000000 {
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
blue { blue_led: led-0 {
label = "mk808:blue:power"; label = "mk808:blue:power";
gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
......
...@@ -33,19 +33,19 @@ power { ...@@ -33,19 +33,19 @@ power {
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
green { green_led: led-0 {
label = "rock:green:user1"; label = "rock:green:user1";
gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_LOW>; gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
blue { blue_led: led-1 {
label = "rock:blue:user2"; label = "rock:blue:user2";
gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>; gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
sleep { sleep_led: led-2 {
label = "rock:red:power"; label = "rock:red:power";
gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
......
...@@ -33,12 +33,18 @@ ext_gmac: ext_gmac { ...@@ -33,12 +33,18 @@ ext_gmac: ext_gmac {
power-led { power-led {
compatible = "gpio-leds"; compatible = "gpio-leds";
blue { blue_led: led-0 {
gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
}; };
}; };
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>,
<&gpio2 29 GPIO_ACTIVE_LOW>;
};
vcc_host: vcc-host-regulator { vcc_host: vcc-host-regulator {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
enable-active-high; enable-active-high;
...@@ -131,7 +137,6 @@ &cpu3 { ...@@ -131,7 +137,6 @@ &cpu3 {
&emmc { &emmc {
cap-mmc-highspeed; cap-mmc-highspeed;
disable-wp;
non-removable; non-removable;
status = "okay"; status = "okay";
}; };
...@@ -202,6 +207,16 @@ &pwm2 { ...@@ -202,6 +207,16 @@ &pwm2 {
status = "okay"; status = "okay";
}; };
&sdio {
bus-width = <4>;
cap-sd-highspeed;
cap-sdio-irq;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
vqmmc-supply = <&vccio_1v8>;
status = "okay";
};
&sdmmc { &sdmmc {
cap-mmc-highspeed; cap-mmc-highspeed;
disable-wp; disable-wp;
......
...@@ -615,6 +615,16 @@ vop_mmu: iommu@20053f00 { ...@@ -615,6 +615,16 @@ vop_mmu: iommu@20053f00 {
status = "disabled"; status = "disabled";
}; };
rga: rga@20060000 {
compatible = "rockchip,rk3228-rga", "rockchip,rk3288-rga";
reg = <0x20060000 0x1000>;
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
clock-names = "aclk", "hclk", "sclk";
resets = <&cru SRST_RGA>, <&cru SRST_RGA_A>, <&cru SRST_RGA_H>;
reset-names = "core", "axi", "ahb";
};
iep_mmu: iommu@20070800 { iep_mmu: iommu@20070800 {
compatible = "rockchip,iommu"; compatible = "rockchip,iommu";
reg = <0x20070800 0x100>; reg = <0x20070800 0x100>;
......
...@@ -45,20 +45,20 @@ ir-receiver { ...@@ -45,20 +45,20 @@ ir-receiver {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
power { power_led: led-0 {
gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>; gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>;
label = "firefly:blue:power"; label = "firefly:blue:power";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&power_led>; pinctrl-0 = <&power_led_pin>;
panic-indicator; panic-indicator;
}; };
work { work_led: led-1 {
gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>; gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>;
label = "firefly:blue:user"; label = "firefly:blue:user";
linux,default-trigger = "rc-feedback"; linux,default-trigger = "rc-feedback";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&work_led>; pinctrl-0 = <&work_led_pin>;
}; };
}; };
...@@ -334,11 +334,11 @@ pwr_key: pwr-key { ...@@ -334,11 +334,11 @@ pwr_key: pwr-key {
}; };
leds { leds {
power_led: power-led { power_led_pin: power-led-pin {
rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
work_led: work-led { work_led_pin: work-led-pin {
rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
......
...@@ -62,20 +62,20 @@ power { ...@@ -62,20 +62,20 @@ power {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
work { work_led: led-0 {
gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>; gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>;
label = "firefly:blue:user"; label = "firefly:blue:user";
linux,default-trigger = "rc-feedback"; linux,default-trigger = "rc-feedback";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&work_led>; pinctrl-0 = <&work_led_pin>;
}; };
power { power_led: led-1 {
gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>; gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>;
label = "firefly:green:power"; label = "firefly:green:power";
linux,default-trigger = "default-on"; linux,default-trigger = "default-on";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&power_led>; pinctrl-0 = <&power_led_pin>;
}; };
}; };
...@@ -429,11 +429,11 @@ pwr_key: pwr-key { ...@@ -429,11 +429,11 @@ pwr_key: pwr-key {
}; };
leds { leds {
power_led: power-led { power_led_pin: power-led-pin {
rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
work_led: work-led { work_led_pin: work-led-pin {
rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
......
...@@ -30,7 +30,7 @@ ext_gmac: external-gmac-clock { ...@@ -30,7 +30,7 @@ ext_gmac: external-gmac-clock {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
work { work_led: led-0 {
gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>; gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
label = "miqi:green:user"; label = "miqi:green:user";
linux,default-trigger = "timer"; linux,default-trigger = "timer";
......
...@@ -36,9 +36,9 @@ ext_gmac: external-gmac-clock { ...@@ -36,9 +36,9 @@ ext_gmac: external-gmac-clock {
leds: user-leds { leds: user-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&user_led>; pinctrl-0 = <&user_led_pin>;
user { user_led: led-0 {
label = "green_led"; label = "green_led";
gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>; gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
...@@ -372,7 +372,7 @@ phy_rst: phy-rst { ...@@ -372,7 +372,7 @@ phy_rst: phy-rst {
}; };
leds { leds {
user_led: user-led { user_led_pin: user-led-pin {
rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_output_high>; rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_output_high>;
}; };
}; };
......
...@@ -41,13 +41,13 @@ power { ...@@ -41,13 +41,13 @@ power {
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
heartbeat { heartbeat_led: led-0 {
gpios = <&gpio7 RK_PB7 GPIO_ACTIVE_LOW>; gpios = <&gpio7 RK_PB7 GPIO_ACTIVE_LOW>;
label = "rock2:green:state1"; label = "rock2:green:state1";
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
mmc { mmc_led: led-1 {
gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_LOW>; gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_LOW>;
label = "rock2:blue:state2"; label = "rock2:blue:state2";
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
......
...@@ -46,17 +46,17 @@ button@0 { ...@@ -46,17 +46,17 @@ button@0 {
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
act-led { act_led: led-0 {
gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
}; };
heartbeat-led { heartbeat_led: led-1 {
gpios = <&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
pwr-led { pwr_led: led-2 {
gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on"; linux,default-trigger = "default-on";
}; };
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <dt-bindings/clock/rk3288-cru.h> #include <dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/power/rk3288-power.h> #include <dt-bindings/power/rk3288-power.h>
#include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/thermal.h>
#include <dt-bindings/power/rk3288-power.h>
#include <dt-bindings/soc/rockchip,boot-mode.h> #include <dt-bindings/soc/rockchip,boot-mode.h>
/ { / {
......
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