mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 03:08:34 +07:00
Bit of cleanup for the cortex-a9 uarts to have that soc-specific
spare-compatible as all others have, conversion to gpio constants and addition of rk3288 qos nodes that need to be saved before a power-domain gets turned off. -----BEGIN PGP SIGNATURE----- iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAliBUsIQHGhlaWtvQHNu dGVjaC5kZQAKCRDzpnnJnNEdgZKBB/9BVOysNvR/vLcao9jlU/an7c5vAwBdDl/G uvsAgVAYRT2FUPcy7LPIQCoQOkk9HA3kMwiKVJH+hGQ+/0FdrKZvKkln/Yb/bT+9 GgQT2NblgNNDMfE76xQM0c7Y7Kj1oDrkGaAmdumnUPOSwMnSlxKD5j3fS2k4fz/t ZOnqHxfEVDldmPIe4C58X5aqsQ4OmAgE7uiykZ4P3Vc0le71/QtJ4jsx4kkXNh9l 1+tGDfc1axmze/rEohw+BbNm3H5l8xMKFURlNE1Sr4dbW1y4o99mG7JVuxxfAQqd XYP76I2foNtaxKgW29sQs0vopw9UimUiIH9i8xu4UsOWoj6N29Gj =B1HN -----END PGP SIGNATURE----- Merge tag 'v4.11-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt Bit of cleanup for the cortex-a9 uarts to have that soc-specific spare-compatible as all others have, conversion to gpio constants and addition of rk3288 qos nodes that need to be saved before a power-domain gets turned off. * tag 'v4.11-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: ARM: dts: rockchip: add soc-specific uart compatibles for rk3066/rk3188 ARM: dts: rockchip: use pin constants to describe gpios ARM: dts: rockchip: add qos node for rk3288 Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
eb9503e99a
@ -56,7 +56,7 @@ &emac {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
|
||||
phy = <&phy0>;
|
||||
phy-reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; /* PHY_RST */
|
||||
phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */
|
||||
phy-reset-duration = <10>; /* millisecond */
|
||||
|
||||
status = "okay";
|
||||
|
@ -55,7 +55,7 @@ leds: gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
work {
|
||||
gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
|
||||
label = "kylin:red:led";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_ctl>;
|
||||
@ -74,9 +74,9 @@ sdio_pwrseq: sdio-pwrseq {
|
||||
* - SDIO_RESET_L_WL_RST
|
||||
* - SDIO_RESET_L_BT_EN
|
||||
*/
|
||||
reset-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>, /* WL_REG_ON */
|
||||
<&gpio0 27 GPIO_ACTIVE_LOW>, /* WL_RST */
|
||||
<&gpio2 9 GPIO_ACTIVE_LOW>; /* BT_EN */
|
||||
reset-gpios = <&gpio0 RK_PD2 GPIO_ACTIVE_LOW>, /* WL_REG_ON */
|
||||
<&gpio0 RK_PD3 GPIO_ACTIVE_LOW>, /* WL_RST */
|
||||
<&gpio2 RK_PB1 GPIO_ACTIVE_LOW>; /* BT_EN */
|
||||
};
|
||||
|
||||
sound {
|
||||
@ -121,7 +121,7 @@ &emac {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
|
||||
phy = <&phy0>;
|
||||
phy-reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; /* PHY_RST */
|
||||
phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */
|
||||
phy-reset-duration = <10>; /* millisecond */
|
||||
|
||||
status = "okay";
|
||||
@ -148,7 +148,7 @@ rk808: pmic@1b {
|
||||
compatible = "rockchip,rk808";
|
||||
reg = <0x1b>;
|
||||
interrupt-parent = <&gpio2>;
|
||||
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int &global_pwroff>;
|
||||
rockchip,system-power-controller;
|
||||
|
@ -71,7 +71,7 @@ vcc_sd0: fixed-regulator {
|
||||
regulator-name = "sdmmc-supply";
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
gpio = <&gpio3 7 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||
startup-delay-us = <100000>;
|
||||
vin-supply = <&vcc_io>;
|
||||
};
|
||||
@ -81,7 +81,7 @@ gpio-keys {
|
||||
autorepeat;
|
||||
|
||||
power {
|
||||
gpios = <&gpio6 2 GPIO_ACTIVE_LOW>; /* GPIO6_A2 */
|
||||
gpios = <&gpio6 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO6_A2 */
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "GPIO Key Power";
|
||||
linux,input-type = <1>;
|
||||
@ -89,7 +89,7 @@ power {
|
||||
debounce-interval = <100>;
|
||||
};
|
||||
volume-down {
|
||||
gpios = <&gpio4 21 GPIO_ACTIVE_LOW>; /* GPIO4_C5 */
|
||||
gpios = <&gpio4 RK_PC5 GPIO_ACTIVE_LOW>; /* GPIO4_C5 */
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
label = "GPIO Key Vol-";
|
||||
linux,input-type = <1>;
|
||||
@ -111,7 +111,7 @@ tps: tps@2d {
|
||||
reg = <0x2d>;
|
||||
|
||||
interrupt-parent = <&gpio6>;
|
||||
interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA6 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
vcc5-supply = <&vcc_io>;
|
||||
vcc6-supply = <&vcc_io>;
|
||||
|
@ -69,7 +69,7 @@ vcc_sd0: sdmmc-regulator {
|
||||
regulator-name = "sdmmc-supply";
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
gpio = <&gpio3 7 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||
startup-delay-us = <100000>;
|
||||
vin-supply = <&vcc_io>;
|
||||
};
|
||||
@ -91,7 +91,7 @@ tps: tps@2d {
|
||||
reg = <0x2d>;
|
||||
|
||||
interrupt-parent = <&gpio6>;
|
||||
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
vcc1-supply = <&vsys>;
|
||||
vcc2-supply = <&vsys>;
|
||||
@ -186,7 +186,7 @@ &emac {
|
||||
phy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -61,7 +61,7 @@ gpio-leds {
|
||||
|
||||
blue {
|
||||
label = "mk808:blue:power";
|
||||
gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
linux,default-trigger = "default-on";
|
||||
};
|
||||
@ -77,7 +77,7 @@ vcc_io: vcc-io {
|
||||
vcc_host: usb-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 6 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-0 = <&host_drv>;
|
||||
pinctrl-names = "default";
|
||||
regulator-always-on;
|
||||
@ -91,7 +91,7 @@ vcc_host: usb-host-regulator {
|
||||
vcc_otg: usb-otg-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-0 = <&otg_drv>;
|
||||
pinctrl-names = "default";
|
||||
regulator-always-on;
|
||||
@ -104,7 +104,7 @@ vcc_otg: usb-otg-regulator {
|
||||
|
||||
vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio3 7 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-0 = <&sdmmc_pwr>;
|
||||
pinctrl-names = "default";
|
||||
regulator-name = "vcc_sd";
|
||||
@ -117,7 +117,7 @@ vcc_sd: sdmmc-regulator {
|
||||
vcc_wifi: sdio-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-0 = <&wifi_pwr>;
|
||||
pinctrl-names = "default";
|
||||
regulator-name = "vcc_wifi";
|
||||
|
@ -55,7 +55,7 @@ memory@60000000 {
|
||||
|
||||
ir: ir-receiver {
|
||||
compatible = "gpio-ir-receiver";
|
||||
gpios = <&gpio6 1 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio6 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ir_int>;
|
||||
};
|
||||
@ -65,7 +65,7 @@ keys: gpio-keys {
|
||||
|
||||
power {
|
||||
wakeup-source;
|
||||
gpios = <&gpio6 2 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio6 RK_PA2 GPIO_ACTIVE_LOW>;
|
||||
label = "GPIO Power";
|
||||
linux,code = <KEY_POWER>;
|
||||
pinctrl-names = "default";
|
||||
@ -115,7 +115,7 @@ vcc_emmc: emmc-regulator {
|
||||
vcc_sata: sata-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio4 22 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sata_pwr>;
|
||||
regulator-name = "usb_5v";
|
||||
@ -127,7 +127,7 @@ vcc_sata: sata-regulator {
|
||||
|
||||
vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio3 7 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_pwr>;
|
||||
regulator-name = "vcc_sd";
|
||||
@ -140,7 +140,7 @@ vcc_sd: sdmmc-regulator {
|
||||
vcc_host: usb-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 6 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_drv>;
|
||||
regulator-name = "host-pwr";
|
||||
@ -153,7 +153,7 @@ vcc_host: usb-host-regulator {
|
||||
vcc_otg: usb-otg-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&otg_drv>;
|
||||
regulator-name = "vcc_otg";
|
||||
@ -201,7 +201,7 @@ ak8963: ak8963@0d {
|
||||
compatible = "asahi-kasei,ak8975";
|
||||
reg = <0x0d>;
|
||||
interrupt-parent = <&gpio4>;
|
||||
interrupts = <17 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupts = <RK_PC1 IRQ_TYPE_EDGE_RISING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&comp_int>;
|
||||
};
|
||||
@ -210,7 +210,7 @@ mma8452: mma8452@1d {
|
||||
compatible = "fsl,mma8452";
|
||||
reg = <0x1d>;
|
||||
interrupt-parent = <&gpio4>;
|
||||
interrupts = <16 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupts = <RK_PC0 IRQ_TYPE_EDGE_RISING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsensor_int>;
|
||||
};
|
||||
@ -223,7 +223,7 @@ &i2c1 {
|
||||
tps: tps@2d {
|
||||
reg = <0x2d>;
|
||||
interrupt-parent = <&gpio6>;
|
||||
interrupts = <4 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_EDGE_RISING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int>, <&pwr_hold>;
|
||||
|
||||
|
@ -687,6 +687,7 @@ &spi1 {
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
compatible = "rockchip,rk3066-uart", "snps,dw-apb-uart";
|
||||
dmas = <&dmac1_s 0>, <&dmac1_s 1>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
@ -694,6 +695,7 @@ &uart0 {
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
compatible = "rockchip,rk3066-uart", "snps,dw-apb-uart";
|
||||
dmas = <&dmac1_s 2>, <&dmac1_s 3>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
@ -701,6 +703,7 @@ &uart1 {
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
compatible = "rockchip,rk3066-uart", "snps,dw-apb-uart";
|
||||
dmas = <&dmac2 6>, <&dmac2 7>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
@ -708,6 +711,7 @@ &uart2 {
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
compatible = "rockchip,rk3066-uart", "snps,dw-apb-uart";
|
||||
dmas = <&dmac2 8>, <&dmac2 9>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
|
@ -62,7 +62,7 @@ gpio-keys {
|
||||
autorepeat;
|
||||
|
||||
power {
|
||||
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "GPIO Key Power";
|
||||
linux,input-type = <1>;
|
||||
@ -102,7 +102,7 @@ accelerometer@18 {
|
||||
compatible = "bosch,bma250";
|
||||
reg = <0x18>;
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PB7 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -114,7 +114,7 @@ rk808: pmic@1c {
|
||||
compatible = "rockchip,rk818";
|
||||
reg = <0x1c>;
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PB3 IRQ_TYPE_LEVEL_LOW>;
|
||||
rockchip,system-power-controller;
|
||||
wakeup-source;
|
||||
#clock-cells = <1>;
|
||||
@ -247,8 +247,8 @@ gsl1680: touchscreen@40 {
|
||||
compatible = "silead,gsl1680";
|
||||
reg = <0x40>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
|
||||
power-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
interrupts = <RK_PB7 IRQ_TYPE_EDGE_FALLING>;
|
||||
power-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
touchscreen-size-x = <800>;
|
||||
touchscreen-size-y = <1280>;
|
||||
silead,max-fingers = <5>;
|
||||
|
@ -58,7 +58,7 @@ gpio-keys {
|
||||
autorepeat;
|
||||
|
||||
power {
|
||||
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "GPIO Key Power";
|
||||
linux,input-type = <1>;
|
||||
@ -72,19 +72,19 @@ gpio-leds {
|
||||
|
||||
green {
|
||||
label = "rock:green:user1";
|
||||
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
blue {
|
||||
label = "rock:blue:user2";
|
||||
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
sleep {
|
||||
label = "rock:red:power";
|
||||
gpios = <&gpio0 15 0>;
|
||||
gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
@ -106,7 +106,7 @@ spdif_out: spdif-out {
|
||||
|
||||
ir_recv: gpio-ir-receiver {
|
||||
compatible = "gpio-ir-receiver";
|
||||
gpios = <&gpio0 10 1>;
|
||||
gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ir_recv_pin>;
|
||||
};
|
||||
@ -114,7 +114,7 @@ ir_recv: gpio-ir-receiver {
|
||||
vcc_otg: usb-otg-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PD7 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&otg_vbus_drv>;
|
||||
regulator-name = "otg-vbus";
|
||||
@ -129,7 +129,7 @@ vcc_sd0: sdmmc-regulator {
|
||||
regulator-name = "sdmmc-supply";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
gpio = <&gpio3 1 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
startup-delay-us = <100000>;
|
||||
vin-supply = <&vcc_io>;
|
||||
};
|
||||
@ -137,7 +137,7 @@ vcc_sd0: sdmmc-regulator {
|
||||
vcc_host: usb-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 3 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_vbus_drv>;
|
||||
regulator-name = "host-pwr";
|
||||
@ -168,7 +168,7 @@ &emac {
|
||||
phy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
interrupt-parent = <&gpio3>;
|
||||
interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -184,7 +184,7 @@ rtc@51 {
|
||||
compatible = "haoyu,hym8563";
|
||||
reg = <0x51>;
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PB5 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rtc_int>;
|
||||
#clock-cells = <0>;
|
||||
|
@ -599,21 +599,25 @@ &spi1 {
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
compatible = "rockchip,rk3188-uart", "snps,dw-apb-uart";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_xfer>;
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
compatible = "rockchip,rk3188-uart", "snps,dw-apb-uart";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart1_xfer>;
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
compatible = "rockchip,rk3188-uart", "snps,dw-apb-uart";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart2_xfer>;
|
||||
};
|
||||
|
||||
&uart3 {
|
||||
compatible = "rockchip,rk3188-uart", "snps,dw-apb-uart";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart3_xfer>;
|
||||
};
|
||||
|
@ -77,7 +77,7 @@ &gmac {
|
||||
phy-mode = "rgmii";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii_pins>;
|
||||
snps,reset-gpio = <&gpio2 24 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-gpio = <&gpio2 RK_PD0 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 1000000>;
|
||||
tx_delay = <0x30>;
|
||||
|
@ -47,7 +47,7 @@ / {
|
||||
vcc_lcd: vcc-lcd {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 3 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lcd_en>;
|
||||
regulator-name = "vcc_lcd";
|
||||
@ -57,7 +57,7 @@ vcc_lcd: vcc-lcd {
|
||||
vcc_wl: vcc-wl {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 9 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PB1 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wifi_pwr>;
|
||||
regulator-name = "vcc_wl";
|
||||
@ -96,7 +96,7 @@ hym8563@51 {
|
||||
reg = <0x51>;
|
||||
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int>;
|
||||
|
@ -52,7 +52,7 @@ rk808: pmic@1b {
|
||||
compatible = "rockchip,rk808";
|
||||
reg = <0x1b>;
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int &global_pwroff>;
|
||||
rockchip,system-power-controller;
|
||||
|
@ -84,7 +84,7 @@ backlight: backlight {
|
||||
240 241 242 243 244 245 246 247
|
||||
248 249 250 251 252 253 254 255>;
|
||||
default-brightness-level = <128>;
|
||||
enable-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
|
||||
enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_en>;
|
||||
pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>;
|
||||
@ -100,7 +100,7 @@ ext_gmac: external-gmac-clock {
|
||||
panel: panel {
|
||||
compatible ="lg,lp079qx1-sp0v", "simple-panel";
|
||||
backlight = <&backlight>;
|
||||
enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
|
||||
enable-gpios = <&gpio7 RK_PA4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-0 = <&lcd_cs>;
|
||||
|
||||
ports {
|
||||
@ -120,7 +120,7 @@ gpio-keys {
|
||||
pinctrl-0 = <&pwrbtn>;
|
||||
|
||||
power {
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "GPIO Key Power";
|
||||
linux,input-type = <1>;
|
||||
@ -133,7 +133,7 @@ power {
|
||||
vcc_host: vcc-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_vbus_drv>;
|
||||
regulator-name = "vcc_host";
|
||||
@ -144,7 +144,7 @@ vcc_host: vcc-host-regulator {
|
||||
vcc_phy: vcc-phy-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 6 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <ð_phy_pwr>;
|
||||
regulator-name = "vcc_phy";
|
||||
@ -170,7 +170,7 @@ vcc_sys: vsys-regulator {
|
||||
*/
|
||||
vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_pwr>;
|
||||
regulator-name = "vcc_sd";
|
||||
@ -236,7 +236,7 @@ &gmac {
|
||||
phy-supply = <&vcc_phy>;
|
||||
phy-mode = "rgmii";
|
||||
clock_in_out = "input";
|
||||
snps,reset-gpio = <&gpio4 7 0>;
|
||||
snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 1000000>;
|
||||
assigned-clocks = <&cru SCLK_MAC>;
|
||||
|
@ -93,7 +93,7 @@ &gmac {
|
||||
phy-mode = "rgmii";
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 1000000>;
|
||||
snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
|
||||
tx_delay = <0x30>;
|
||||
rx_delay = <0x10>;
|
||||
status = "okay";
|
||||
@ -111,7 +111,7 @@ rk808: pmic@1b {
|
||||
compatible = "rockchip,rk808";
|
||||
reg = <0x1b>;
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
|
||||
#clock-cells = <1>;
|
||||
clock-output-names = "xin32k", "rk808-clkout2";
|
||||
pinctrl-names = "default";
|
||||
@ -345,7 +345,7 @@ &uart2 {
|
||||
&usbphy {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_drv>;
|
||||
vbus_drv-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
vbus_drv-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -49,7 +49,7 @@ / {
|
||||
};
|
||||
|
||||
&ir {
|
||||
gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio7 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
|
@ -96,7 +96,7 @@ &gmac {
|
||||
phy-mode = "rgmii";
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 1000000>;
|
||||
snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
|
||||
tx_delay = <0x30>;
|
||||
rx_delay = <0x10>;
|
||||
status = "ok";
|
||||
|
@ -53,7 +53,7 @@ gpio-keys {
|
||||
|
||||
power {
|
||||
wakeup-source;
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
label = "GPIO Power";
|
||||
linux,code = <KEY_POWER>;
|
||||
pinctrl-names = "default";
|
||||
@ -63,14 +63,14 @@ power {
|
||||
|
||||
ir-receiver {
|
||||
compatible = "gpio-ir-receiver";
|
||||
gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio7 RK_PA0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power {
|
||||
gpios = <&gpio8 2 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>;
|
||||
label = "firefly:blue:power";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&power_led>;
|
||||
@ -78,7 +78,7 @@ power {
|
||||
};
|
||||
|
||||
work {
|
||||
gpios = <&gpio8 1 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
label = "firefly:blue:user";
|
||||
linux,default-trigger = "rc-feedback";
|
||||
pinctrl-names = "default";
|
||||
@ -92,7 +92,7 @@ sdio_pwrseq: sdio-pwrseq {
|
||||
clock-names = "ext_clock";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wifi_enable>;
|
||||
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
sound {
|
||||
@ -112,7 +112,7 @@ spdif_out: spdif-out {
|
||||
vcc_host_5v: usb-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_vbus_drv>;
|
||||
regulator-name = "vcc_host_5v";
|
||||
@ -133,7 +133,7 @@ vcc_5v: vcc_sys: vsys-regulator {
|
||||
|
||||
vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_pwr>;
|
||||
regulator-name = "vcc_sd";
|
||||
@ -146,7 +146,7 @@ vcc_sd: sdmmc-regulator {
|
||||
vcc_otg_5v: usb-otg-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&otg_vbus_drv>;
|
||||
regulator-name = "vcc_otg_5v";
|
||||
@ -159,7 +159,7 @@ vcc_otg_5v: usb-otg-regulator {
|
||||
dovdd_1v8: dovdd-1v8-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dvp_pwr>;
|
||||
regulator-name = "dovdd_1v8";
|
||||
@ -171,7 +171,7 @@ dovdd_1v8: dovdd-1v8-regulator {
|
||||
vcc28_dvp: vcc28-dvp-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dvp_pwr>;
|
||||
regulator-name = "vcc28_dvp";
|
||||
@ -183,7 +183,7 @@ vcc28_dvp: vcc28-dvp-regulator {
|
||||
af_28: af_28-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dvp_pwr>;
|
||||
regulator-name = "af_28";
|
||||
@ -195,7 +195,7 @@ af_28: af_28-regulator {
|
||||
dvdd_1v2: af_28-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cif_pwr>;
|
||||
regulator-name = "dvdd_1v2";
|
||||
@ -221,7 +221,7 @@ hym8563: hym8563@51 {
|
||||
clock-frequency = <32768>;
|
||||
clock-output-names = "xin32k";
|
||||
interrupt-parent = <&gpio7>;
|
||||
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rtc_int>;
|
||||
};
|
||||
|
@ -49,7 +49,7 @@ / {
|
||||
};
|
||||
|
||||
&ir {
|
||||
gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio7 RK_PA0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
|
@ -75,7 +75,7 @@ keys: gpio-keys {
|
||||
|
||||
power {
|
||||
wakeup-source;
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
label = "GPIO Power";
|
||||
linux,code = <KEY_POWER>;
|
||||
pinctrl-names = "default";
|
||||
@ -87,7 +87,7 @@ leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
work {
|
||||
gpios = <&gpio8 1 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
label = "firefly:blue:user";
|
||||
linux,default-trigger = "rc-feedback";
|
||||
pinctrl-names = "default";
|
||||
@ -95,7 +95,7 @@ work {
|
||||
};
|
||||
|
||||
power {
|
||||
gpios = <&gpio8 2 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>;
|
||||
label = "firefly:green:power";
|
||||
linux,default-trigger = "default-on";
|
||||
pinctrl-names = "default";
|
||||
@ -114,7 +114,7 @@ vbat_wl: vcc_sys: vsys-regulator {
|
||||
|
||||
vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_pwr>;
|
||||
regulator-name = "vcc_sd";
|
||||
@ -145,7 +145,7 @@ vcc_5v: usb-regulator {
|
||||
vcc_host_5v: usb-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_vbus_drv>;
|
||||
regulator-name = "vcc_host_5v";
|
||||
@ -158,7 +158,7 @@ vcc_host_5v: usb-host-regulator {
|
||||
vcc_otg_5v: usb-otg-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&otg_vbus_drv>;
|
||||
regulator-name = "vcc_otg_5v";
|
||||
@ -175,7 +175,7 @@ vcc_otg_5v: usb-otg-regulator {
|
||||
vcc28_dvp: vcc28-dvp-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dvp_pwr>;
|
||||
regulator-name = "vcc28_dvp";
|
||||
@ -213,7 +213,7 @@ &gmac {
|
||||
phy-mode = "rgmii";
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 1000000>;
|
||||
snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
|
||||
tx_delay = <0x30>;
|
||||
rx_delay = <0x10>;
|
||||
status = "ok";
|
||||
@ -260,7 +260,7 @@ hym8563: hym8563@51 {
|
||||
clock-frequency = <32768>;
|
||||
clock-output-names = "xin32k";
|
||||
interrupt-parent = <&gpio7>;
|
||||
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rtc_int>;
|
||||
};
|
||||
|
@ -68,7 +68,7 @@ leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
work {
|
||||
gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio7 RK_PA4 GPIO_ACTIVE_LOW>;
|
||||
label = "miqi:green:user";
|
||||
linux,default-trigger = "default-on";
|
||||
pinctrl-names = "default";
|
||||
@ -87,7 +87,7 @@ vcc_flash: flash-regulator {
|
||||
vcc_host: usb-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_vbus_drv>;
|
||||
regulator-name = "vcc_host";
|
||||
@ -99,7 +99,7 @@ vcc_host: usb-host-regulator {
|
||||
|
||||
vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_pwr>;
|
||||
regulator-name = "vcc_sd";
|
||||
@ -146,7 +146,7 @@ &gmac {
|
||||
phy-mode = "rgmii";
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 1000000>;
|
||||
snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
|
||||
tx_delay = <0x30>;
|
||||
rx_delay = <0x10>;
|
||||
status = "ok";
|
||||
|
@ -180,7 +180,7 @@ &gmac {
|
||||
phy-supply = <&vcc_lan>;
|
||||
phy-mode = "rgmii";
|
||||
clock_in_out = "input";
|
||||
snps,reset-gpio = <&gpio4 RK_PB0 0>;
|
||||
snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 1000000>;
|
||||
assigned-clocks = <&cru SCLK_MAC>;
|
||||
@ -205,7 +205,7 @@ rk808: pmic@1b {
|
||||
compatible = "rockchip,rk808";
|
||||
reg = <0x1b>;
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int &global_pwroff>;
|
||||
rockchip,system-power-controller;
|
||||
@ -390,7 +390,7 @@ ak8963: ak8963@0d {
|
||||
compatible = "asahi-kasei,ak8975";
|
||||
reg = <0x0d>;
|
||||
interrupt-parent = <&gpio8>;
|
||||
interrupts = <1 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupts = <RK_PA1 IRQ_TYPE_EDGE_RISING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&comp_int>;
|
||||
vdd-supply = <&vcc_io>;
|
||||
@ -409,7 +409,7 @@ mma8452: mma8452@1d {
|
||||
compatible = "fsl,mma8452";
|
||||
reg = <0x1d>;
|
||||
interrupt-parent = <&gpio8>;
|
||||
interrupts = <0 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupts = <RK_PA0 IRQ_TYPE_EDGE_RISING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsensor_int>;
|
||||
};
|
||||
|
@ -68,7 +68,7 @@ gpio-keys {
|
||||
pinctrl-0 = <&pwrbtn>;
|
||||
|
||||
power {
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "GPIO Key Power";
|
||||
linux,input-type = <1>;
|
||||
@ -79,7 +79,7 @@ power {
|
||||
|
||||
ir: ir-receiver {
|
||||
compatible = "gpio-ir-receiver";
|
||||
gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio7 RK_PA0 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ir_int>;
|
||||
};
|
||||
@ -87,7 +87,7 @@ ir: ir-receiver {
|
||||
vcc_host: vcc-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_vbus_drv>;
|
||||
regulator-name = "vcc_host";
|
||||
@ -98,7 +98,7 @@ vcc_host: vcc-host-regulator {
|
||||
vcc_otg: vcc-otg-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&otg_vbus_drv>;
|
||||
regulator-name = "vcc_otg";
|
||||
@ -111,7 +111,7 @@ vcc_sdmmc: sdmmc-regulator {
|
||||
regulator-name = "sdmmc-supply";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
startup-delay-us = <100000>;
|
||||
vin-supply = <&vcc_io>;
|
||||
};
|
||||
@ -134,7 +134,7 @@ &gmac {
|
||||
phy-supply = <&vcc_lan>;
|
||||
phy-mode = "rgmii";
|
||||
clock_in_out = "input";
|
||||
snps,reset-gpio = <&gpio4 7 0>;
|
||||
snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>;
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 1000000>;
|
||||
assigned-clocks = <&cru SCLK_MAC>;
|
||||
@ -187,7 +187,7 @@ rtc@51 {
|
||||
#clock-cells = <0>;
|
||||
clock-output-names = "xin32k";
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int>;
|
||||
};
|
||||
|
@ -51,7 +51,7 @@ emmc_pwrseq: emmc-pwrseq {
|
||||
compatible = "mmc-pwrseq-emmc";
|
||||
pinctrl-0 = <&emmc_reset>;
|
||||
pinctrl-names = "default";
|
||||
reset-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
ext_gmac: external-gmac-clock {
|
||||
@ -106,7 +106,7 @@ &gmac {
|
||||
phy-supply = <&vccio_pmu>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii_pins &phy_rst>;
|
||||
snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 30000>;
|
||||
rx_delay = <0x10>;
|
||||
|
@ -53,13 +53,13 @@ gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
heartbeat {
|
||||
gpios = <&gpio7 15 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio7 RK_PB7 GPIO_ACTIVE_LOW>;
|
||||
label = "rock2:green:state1";
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
mmc {
|
||||
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
label = "rock2:blue:state2";
|
||||
linux,default-trigger = "mmc0";
|
||||
};
|
||||
@ -67,7 +67,7 @@ mmc {
|
||||
|
||||
ir: ir-receiver {
|
||||
compatible = "gpio-ir-receiver";
|
||||
gpios = <&gpio8 1 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ir_int>;
|
||||
};
|
||||
@ -92,13 +92,13 @@ sdio_pwrseq: sdio-pwrseq {
|
||||
clock-names = "ext_clock";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wifi_enable>;
|
||||
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
vcc_usb_host: vcc-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host_vbus_drv>;
|
||||
/* Always on as the rockchip usb phy doesn't have a vbus-supply
|
||||
@ -110,7 +110,7 @@ vcc_usb_host: vcc-host-regulator {
|
||||
|
||||
vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
|
||||
gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_pwr>;
|
||||
regulator-name = "vcc_sd";
|
||||
@ -166,7 +166,7 @@ hym8563: hym8563@51 {
|
||||
clock-frequency = <32768>;
|
||||
clock-output-names = "xin32k";
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int>;
|
||||
|
||||
|
@ -17,8 +17,8 @@ sound {
|
||||
rockchip,model = "VEYRON-I2S";
|
||||
rockchip,i2s-controller = <&i2s>;
|
||||
rockchip,audio-codec = <&max98090>;
|
||||
rockchip,hp-det-gpios = <&gpio6 5 GPIO_ACTIVE_HIGH>;
|
||||
rockchip,mic-det-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
|
||||
rockchip,hp-det-gpios = <&gpio6 RK_PA5 GPIO_ACTIVE_HIGH>;
|
||||
rockchip,mic-det-gpios = <&gpio6 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
rockchip,headset-codec = <&headsetcodec>;
|
||||
};
|
||||
};
|
||||
@ -28,7 +28,7 @@ max98090: max98090@10 {
|
||||
compatible = "maxim,max98090";
|
||||
reg = <0x10>;
|
||||
interrupt-parent = <&gpio6>;
|
||||
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PA7 IRQ_TYPE_EDGE_FALLING>;
|
||||
clock-names = "mclk";
|
||||
clocks = <&cru SCLK_I2S0_OUT>;
|
||||
pinctrl-names = "default";
|
||||
@ -41,7 +41,7 @@ headsetcodec: ts3a227e@3b {
|
||||
compatible = "ti,ts3a227e";
|
||||
reg = <0x3b>;
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ts3a227e_int_l>;
|
||||
ti,micbias = <7>; /* MICBIAS = 2.8V */
|
||||
|
@ -67,7 +67,7 @@ vcc33_io: vcc33_io {
|
||||
vcc5_host2: vcc5-host2-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&usb2_pwr_en>;
|
||||
regulator-name = "vcc5_host2";
|
||||
@ -103,8 +103,8 @@ usb2_pwr_en: usb2-pwr-en {
|
||||
&rk808 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
|
||||
dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio7 15 GPIO_ACTIVE_HIGH>;
|
||||
dvs-gpios = <&gpio7 RK_PB3 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio7 RK_PB7 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
/delete-property/ vcc6-supply;
|
||||
|
||||
@ -133,7 +133,7 @@ vcc18_hdmi: SWITCH_REG2 {
|
||||
|
||||
&vcc50_hdmi {
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 2 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc50_hdmi_en>;
|
||||
};
|
||||
|
@ -91,7 +91,7 @@ backlight: backlight {
|
||||
240 241 242 243 244 245 246 247
|
||||
248 249 250 251 252 253 254 255>;
|
||||
default-brightness-level = <128>;
|
||||
enable-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
|
||||
enable-gpios = <&gpio7 RK_PA2 GPIO_ACTIVE_HIGH>;
|
||||
backlight-boot-off;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_en>;
|
||||
@ -102,7 +102,7 @@ backlight: backlight {
|
||||
gpio-charger {
|
||||
compatible = "gpio-charger";
|
||||
charger-type = "mains";
|
||||
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ac_present_ap>;
|
||||
};
|
||||
@ -142,7 +142,7 @@ vcc_5v: vcc-5v {
|
||||
vcc5_host1: vcc5-host1-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&host1_pwr_en>;
|
||||
regulator-name = "vcc5_host1";
|
||||
@ -154,7 +154,7 @@ vcc5_host1: vcc5-host1-regulator {
|
||||
vcc5v_otg: vcc5v-otg-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&usbotg_pwren_h>;
|
||||
regulator-name = "vcc5_host2";
|
||||
@ -190,7 +190,7 @@ &gpio_keys {
|
||||
pinctrl-0 = <&pwr_key_l &ap_lid_int_l>;
|
||||
lid {
|
||||
label = "Lid";
|
||||
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
|
||||
wakeup-source;
|
||||
linux,code = <0>; /* SW_LID */
|
||||
linux,input-type = <5>; /* EV_SW */
|
||||
@ -228,7 +228,7 @@ cros_ec: ec@0 {
|
||||
reg = <0>;
|
||||
google,cros-ec-spi-pre-delay = <30>;
|
||||
interrupt-parent = <&gpio7>;
|
||||
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ec_int>;
|
||||
spi-max-frequency = <3000000>;
|
||||
@ -247,7 +247,7 @@ trackpad@15 {
|
||||
compatible = "elan,ekth3000";
|
||||
reg = <0x15>;
|
||||
interrupt-parent = <&gpio7>;
|
||||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PA3 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&trackpad_int>;
|
||||
vcc-supply = <&vcc33_io>;
|
||||
|
@ -57,7 +57,7 @@ / {
|
||||
panel_regulator: panel-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lcd_enable_h>;
|
||||
regulator-name = "panel_regulator";
|
||||
@ -68,7 +68,7 @@ panel_regulator: panel-regulator {
|
||||
vcc18_lcd: vcc18-lcd {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&avdd_1v8_disp_en>;
|
||||
regulator-name = "vcc18_lcd";
|
||||
@ -80,7 +80,7 @@ vcc18_lcd: vcc18-lcd {
|
||||
backlight_regulator: backlight-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_pwr_en>;
|
||||
regulator-name = "backlight_regulator";
|
||||
@ -134,8 +134,8 @@ &panel {
|
||||
&rk808 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
|
||||
dvs-gpios = <&gpio7 12 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio7 15 GPIO_ACTIVE_HIGH>;
|
||||
dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio7 RK_PB7 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
regulators {
|
||||
mic_vcc: LDO_REG2 {
|
||||
@ -160,14 +160,14 @@ &sdmmc {
|
||||
|
||||
&vcc_5v {
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 21 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&drv_5v>;
|
||||
};
|
||||
|
||||
&vcc50_hdmi {
|
||||
enable-active-high;
|
||||
gpio = <&gpio5 19 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc50_hdmi_en>;
|
||||
};
|
||||
|
@ -56,7 +56,7 @@ / {
|
||||
panel_regulator: panel-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lcd_enable_h>;
|
||||
regulator-name = "panel_regulator";
|
||||
@ -67,7 +67,7 @@ panel_regulator: panel-regulator {
|
||||
vcc18_lcd: vcc18-lcd {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&avdd_1v8_disp_en>;
|
||||
regulator-name = "vcc18_lcd";
|
||||
@ -79,7 +79,7 @@ vcc18_lcd: vcc18-lcd {
|
||||
backlight_regulator: backlight-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_pwr_en>;
|
||||
regulator-name = "backlight_regulator";
|
||||
@ -123,14 +123,14 @@ &sdmmc {
|
||||
|
||||
&vcc_5v {
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 21 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&drv_5v>;
|
||||
};
|
||||
|
||||
&vcc50_hdmi {
|
||||
enable-active-high;
|
||||
gpio = <&gpio5 19 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc50_hdmi_en>;
|
||||
};
|
||||
@ -197,7 +197,7 @@ trackpad@15 {
|
||||
trackpad@2c {
|
||||
compatible = "hid-over-i2c";
|
||||
interrupt-parent = <&gpio7>;
|
||||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PA3 IRQ_TYPE_EDGE_FALLING>;
|
||||
reg = <0x2c>;
|
||||
hid-descr-addr = <0x0020>;
|
||||
vcc-supply = <&vcc33_io>;
|
||||
|
@ -182,8 +182,8 @@ &i2s {
|
||||
&rk808 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
|
||||
dvs-gpios = <&gpio7 12 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio7 15 GPIO_ACTIVE_HIGH>;
|
||||
dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio7 RK_PB7 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
/delete-property/ vcc6-supply;
|
||||
/delete-property/ vcc12-supply;
|
||||
@ -244,7 +244,7 @@ &usb_host1 {
|
||||
|
||||
&vcc50_hdmi {
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&power_hdmi_on>;
|
||||
};
|
||||
|
@ -55,7 +55,7 @@ / {
|
||||
backlight_regulator: backlight-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_pwr_en>;
|
||||
regulator-name = "backlight_regulator";
|
||||
@ -66,7 +66,7 @@ backlight_regulator: backlight-regulator {
|
||||
panel_regulator: panel-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lcd_enable_h>;
|
||||
regulator-name = "panel_regulator";
|
||||
@ -77,7 +77,7 @@ panel_regulator: panel-regulator {
|
||||
vcc18_lcd: vcc18-lcd {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&avdd_1v8_disp_en>;
|
||||
regulator-name = "vcc18_lcd";
|
||||
@ -134,14 +134,14 @@ &gpio_keys {
|
||||
|
||||
volum_down {
|
||||
label = "Volum_down";
|
||||
gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio5 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
debounce-interval = <100>;
|
||||
};
|
||||
|
||||
volum_up {
|
||||
label = "Volum_up";
|
||||
gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio5 RK_PB2 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_VOLUMEUP>;
|
||||
debounce-interval = <100>;
|
||||
};
|
||||
@ -165,10 +165,10 @@ touchscreen@10 {
|
||||
compatible = "elan,ekth3500";
|
||||
reg = <0x10>;
|
||||
interrupt-parent = <&gpio2>;
|
||||
interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <RK_PB6 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&touch_int &touch_rst>;
|
||||
reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_LOW>;
|
||||
vcc33-supply = <&vcc33_touch>;
|
||||
vccio-supply = <&vcc33_touch>;
|
||||
};
|
||||
@ -211,14 +211,14 @@ &sdmmc {
|
||||
|
||||
&vcc_5v {
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 21 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&drv_5v>;
|
||||
};
|
||||
|
||||
&vcc50_hdmi {
|
||||
enable-active-high;
|
||||
gpio = <&gpio5 19 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc50_hdmi_en>;
|
||||
};
|
||||
|
@ -76,7 +76,7 @@ &gpio_keys {
|
||||
pinctrl-0 = <&pwr_key_h &ap_lid_int_l>;
|
||||
|
||||
power {
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -126,7 +126,7 @@ &sdmmc {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
|
||||
&sdmmc_wp_gpio &sdmmc_bus4>;
|
||||
wp-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
|
||||
wp-gpios = <&gpio7 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
&tsadc {
|
||||
|
@ -115,7 +115,7 @@ &sdmmc {
|
||||
cap-mmc-highspeed;
|
||||
cap-sd-highspeed;
|
||||
card-detect-delay = <200>;
|
||||
cd-gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
|
||||
cd-gpios = <&gpio7 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
rockchip,default-sample-phase = <90>;
|
||||
num-slots = <1>;
|
||||
sd-uhs-sdr12;
|
||||
|
@ -57,7 +57,7 @@ / {
|
||||
panel_regulator: panel-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 14 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lcd_enable_h>;
|
||||
regulator-name = "panel_regulator";
|
||||
@ -68,7 +68,7 @@ panel_regulator: panel-regulator {
|
||||
vcc18_lcd: vcc18-lcd {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&avdd_1v8_disp_en>;
|
||||
regulator-name = "vcc18_lcd";
|
||||
@ -80,7 +80,7 @@ vcc18_lcd: vcc18-lcd {
|
||||
backlight_regulator: backlight-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
enable-active-high;
|
||||
gpio = <&gpio2 12 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_pwr_en>;
|
||||
regulator-name = "backlight_regulator";
|
||||
@ -126,14 +126,14 @@ &sdmmc {
|
||||
|
||||
&vcc_5v {
|
||||
enable-active-high;
|
||||
gpio = <&gpio7 21 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&drv_5v>;
|
||||
};
|
||||
|
||||
&vcc50_hdmi {
|
||||
enable-active-high;
|
||||
gpio = <&gpio5 19 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc50_hdmi_en>;
|
||||
};
|
||||
|
@ -61,7 +61,7 @@ gpio_keys: gpio-keys {
|
||||
pinctrl-0 = <&pwr_key_l>;
|
||||
power {
|
||||
label = "Power";
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
debounce-interval = <100>;
|
||||
wakeup-source;
|
||||
@ -70,7 +70,7 @@ power {
|
||||
|
||||
gpio-restart {
|
||||
compatible = "gpio-restart";
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ap_warm_reset_h>;
|
||||
priority = <200>;
|
||||
@ -80,7 +80,7 @@ emmc_pwrseq: emmc-pwrseq {
|
||||
compatible = "mmc-pwrseq-emmc";
|
||||
pinctrl-0 = <&emmc_reset>;
|
||||
pinctrl-names = "default";
|
||||
reset-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
sdio_pwrseq: sdio-pwrseq {
|
||||
@ -96,7 +96,7 @@ sdio_pwrseq: sdio-pwrseq {
|
||||
* - SDIO_RESET_L_WL_REG_ON
|
||||
* - PDN (power down when low)
|
||||
*/
|
||||
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
vcc_5v: vcc-5v {
|
||||
@ -178,7 +178,7 @@ rk808: pmic@1b {
|
||||
reg = <0x1b>;
|
||||
clock-output-names = "xin32k", "wifibt_32kin";
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
||||
interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int_l>;
|
||||
rockchip,system-power-controller;
|
||||
|
@ -762,6 +762,15 @@ pd_vio@RK3288_PD_VIO {
|
||||
<&cru SCLK_ISP_JPE>,
|
||||
<&cru SCLK_ISP>,
|
||||
<&cru SCLK_RGA>;
|
||||
pm_qos = <&qos_vio0_iep>,
|
||||
<&qos_vio1_vop>,
|
||||
<&qos_vio1_isp_w0>,
|
||||
<&qos_vio1_isp_w1>,
|
||||
<&qos_vio0_vop>,
|
||||
<&qos_vio0_vip>,
|
||||
<&qos_vio2_rga_r>,
|
||||
<&qos_vio2_rga_w>,
|
||||
<&qos_vio1_isp_r>;
|
||||
};
|
||||
|
||||
/*
|
||||
@ -773,6 +782,8 @@ pd_hevc@RK3288_PD_HEVC {
|
||||
clocks = <&cru ACLK_HEVC>,
|
||||
<&cru SCLK_HEVC_CABAC>,
|
||||
<&cru SCLK_HEVC_CORE>;
|
||||
pm_qos = <&qos_hevc_r>,
|
||||
<&qos_hevc_w>;
|
||||
};
|
||||
|
||||
/*
|
||||
@ -784,6 +795,7 @@ pd_video@RK3288_PD_VIDEO {
|
||||
reg = <RK3288_PD_VIDEO>;
|
||||
clocks = <&cru ACLK_VCODEC>,
|
||||
<&cru HCLK_VCODEC>;
|
||||
pm_qos = <&qos_video>;
|
||||
};
|
||||
|
||||
/*
|
||||
@ -793,6 +805,8 @@ pd_video@RK3288_PD_VIDEO {
|
||||
pd_gpu@RK3288_PD_GPU {
|
||||
reg = <RK3288_PD_GPU>;
|
||||
clocks = <&cru ACLK_GPU>;
|
||||
pm_qos = <&qos_gpu_r>,
|
||||
<&qos_gpu_w>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -1103,6 +1117,76 @@ hdmi_in_vopl: endpoint@1 {
|
||||
};
|
||||
};
|
||||
|
||||
qos_gpu_r: qos@ffaa0000 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffaa0000 0x20>;
|
||||
};
|
||||
|
||||
qos_gpu_w: qos@ffaa0080 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffaa0080 0x20>;
|
||||
};
|
||||
|
||||
qos_vio1_vop: qos@ffad0000 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0000 0x20>;
|
||||
};
|
||||
|
||||
qos_vio1_isp_w0: qos@ffad0100 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0100 0x20>;
|
||||
};
|
||||
|
||||
qos_vio1_isp_w1: qos@ffad0180 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0180 0x20>;
|
||||
};
|
||||
|
||||
qos_vio0_vop: qos@ffad0400 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0400 0x20>;
|
||||
};
|
||||
|
||||
qos_vio0_vip: qos@ffad0480 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0480 0x20>;
|
||||
};
|
||||
|
||||
qos_vio0_iep: qos@ffad0500 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0500 0x20>;
|
||||
};
|
||||
|
||||
qos_vio2_rga_r: qos@ffad0800 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0800 0x20>;
|
||||
};
|
||||
|
||||
qos_vio2_rga_w: qos@ffad0880 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0880 0x20>;
|
||||
};
|
||||
|
||||
qos_vio1_isp_r: qos@ffad0900 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffad0900 0x20>;
|
||||
};
|
||||
|
||||
qos_video: qos@ffae0000 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffae0000 0x20>;
|
||||
};
|
||||
|
||||
qos_hevc_r: qos@ffaf0000 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffaf0000 0x20>;
|
||||
};
|
||||
|
||||
qos_hevc_w: qos@ffaf0080 {
|
||||
compatible = "syscon";
|
||||
reg = <0xffaf0080 0x20>;
|
||||
};
|
||||
|
||||
gic: interrupt-controller@ffc01000 {
|
||||
compatible = "arm,gic-400";
|
||||
interrupt-controller;
|
||||
|
Loading…
Reference in New Issue
Block a user