diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2017-11-07 10:21:18 -0500 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2017-11-07 10:21:18 -0500 |
| commit | 87f89ace81d0978a1049a92c6a9921de5aa0a9e3 (patch) | |
| tree | 231cbb600fb13960d3a76257a961bc9c0c303d2f | |
| parent | ea7cdc066e479cb7d8a3551d206c7aa9c7f8b33a (diff) | |
| parent | be84dfa70dde6bb072c9cc9bba0a741841f0baa2 (diff) | |
Merge tag 'v4.15-rockchip-dts32-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt
Pull "Rockchip dts32 updates for 4.15 part2" from Heiko Stübner:
CEC support for the two rk3288-firefly variants and general hdmi support
for the firefly-reload. A lot of additions and corrections for the
rk3288-vyasa and thermal support for the rv1108.
* tag 'v4.15-rockchip-dts32-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
ARM: dts: rockchip: enable the hdmi output on the rk3288-firefly-reload
ARM: dts: rockchip: define the two possible rk3288 CEC pins
ARM: dts: rockchip: add the cec clk for dw-hdmi on rk3288
ARM: dts: rockchip: Add io domains for rk3288-vyasa
ARM: dts: rockchip: Add usb otg for rk3288-vyasa
ARM: dts: rockchip: Add usb host for rk3288-vyasa
ARM: dts: rockchip: Add gmac support for rk3288-vyasa board
ARM: dts: rockchip: Add regulators for rk3288-vyasa
ARM: dts: rockchip: Use vmmc-supply from PMIC on rk3288-vyasa
ARM: dts: rockchip: Remove vdd_log from rk808, DCDC_REG1 on rk3288-vyasa
ARM: dts: rockchip: enable tsadc module on RV1108 evaluation board
ARM: dts: rockchip: add thermal nodes for RV1108 SoC
ARM: dts: rockchip: add tsadc node for RV1108 SoC
ARM: dts: rockchip: add RGA device node for RK3288
| -rw-r--r-- | arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi | 2 | ||||
| -rw-r--r-- | arch/arm/boot/dts/rk3288-firefly-reload.dts | 11 | ||||
| -rw-r--r-- | arch/arm/boot/dts/rk3288-vyasa.dts | 179 | ||||
| -rw-r--r-- | arch/arm/boot/dts/rk3288.dtsi | 23 | ||||
| -rw-r--r-- | arch/arm/boot/dts/rv1108-evb.dts | 4 | ||||
| -rw-r--r-- | arch/arm/boot/dts/rv1108.dtsi | 67 |
6 files changed, 270 insertions, 16 deletions
diff --git a/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi b/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi index 5f05815f47e0..5f1e336dbaac 100644 --- a/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi +++ b/arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi | |||
| @@ -184,6 +184,7 @@ | |||
| 184 | regulator-name = "vdd10_lcd"; | 184 | regulator-name = "vdd10_lcd"; |
| 185 | regulator-min-microvolt = <1000000>; | 185 | regulator-min-microvolt = <1000000>; |
| 186 | regulator-max-microvolt = <1000000>; | 186 | regulator-max-microvolt = <1000000>; |
| 187 | regulator-always-on; | ||
| 187 | }; | 188 | }; |
| 188 | 189 | ||
| 189 | vcca_18: REG7 { | 190 | vcca_18: REG7 { |
| @@ -223,6 +224,7 @@ | |||
| 223 | regulator-name = "vcc18_lcd"; | 224 | regulator-name = "vcc18_lcd"; |
| 224 | regulator-min-microvolt = <1800000>; | 225 | regulator-min-microvolt = <1800000>; |
| 225 | regulator-max-microvolt = <1800000>; | 226 | regulator-max-microvolt = <1800000>; |
| 227 | regulator-always-on; | ||
| 226 | }; | 228 | }; |
| 227 | }; | 229 | }; |
| 228 | }; | 230 | }; |
diff --git a/arch/arm/boot/dts/rk3288-firefly-reload.dts b/arch/arm/boot/dts/rk3288-firefly-reload.dts index 7da0947ababb..eab176e3dfc3 100644 --- a/arch/arm/boot/dts/rk3288-firefly-reload.dts +++ b/arch/arm/boot/dts/rk3288-firefly-reload.dts | |||
| @@ -226,6 +226,13 @@ | |||
| 226 | }; | 226 | }; |
| 227 | }; | 227 | }; |
| 228 | 228 | ||
| 229 | &hdmi { | ||
| 230 | ddc-i2c-bus = <&i2c5>; | ||
| 231 | pinctrl-names = "default"; | ||
| 232 | pinctrl-0 = <&hdmi_cec_c0>; | ||
| 233 | status = "okay"; | ||
| 234 | }; | ||
| 235 | |||
| 229 | &i2c0 { | 236 | &i2c0 { |
| 230 | hym8563: hym8563@51 { | 237 | hym8563: hym8563@51 { |
| 231 | compatible = "haoyu,hym8563"; | 238 | compatible = "haoyu,hym8563"; |
| @@ -255,6 +262,10 @@ | |||
| 255 | }; | 262 | }; |
| 256 | }; | 263 | }; |
| 257 | 264 | ||
| 265 | &i2c5 { | ||
| 266 | status = "okay"; | ||
| 267 | }; | ||
| 268 | |||
| 258 | &i2s { | 269 | &i2s { |
| 259 | status = "okay"; | 270 | status = "okay"; |
| 260 | }; | 271 | }; |
diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index 3546eb8629c7..9842a006e823 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts | |||
| @@ -56,25 +56,98 @@ | |||
| 56 | device_type = "memory"; | 56 | device_type = "memory"; |
| 57 | }; | 57 | }; |
| 58 | 58 | ||
| 59 | vcc_sd: sdmmc-regulator { | 59 | dc12_vbat: dc12-vbat { |
| 60 | compatible = "regulator-fixed"; | 60 | compatible = "regulator-fixed"; |
| 61 | gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>; | 61 | regulator-name = "dc12_vbat"; |
| 62 | pinctrl-names = "default"; | 62 | regulator-min-microvolt = <12000000>; |
| 63 | pinctrl-0 = <&sdmmc_pwr>; | 63 | regulator-max-microvolt = <12000000>; |
| 64 | regulator-name = "vcc_sd"; | 64 | regulator-always-on; |
| 65 | regulator-boot-on; | ||
| 66 | }; | ||
| 67 | |||
| 68 | vboot_3v3: vboot-3v3 { | ||
| 69 | compatible = "regulator-fixed"; | ||
| 70 | regulator-name = "vboot_3v3"; | ||
| 65 | regulator-min-microvolt = <3300000>; | 71 | regulator-min-microvolt = <3300000>; |
| 66 | regulator-max-microvolt = <3300000>; | 72 | regulator-max-microvolt = <3300000>; |
| 67 | startup-delay-us = <100000>; | 73 | regulator-always-on; |
| 68 | vin-supply = <&vcc_io>; | 74 | regulator-boot-on; |
| 75 | vin-supply = <&dc12_vbat>; | ||
| 69 | }; | 76 | }; |
| 70 | 77 | ||
| 71 | vcc_sys: vsys-regulator { | 78 | vcc_sys: vsys-regulator { |
| 72 | compatible = "regulator-fixed"; | 79 | compatible = "regulator-fixed"; |
| 73 | regulator-name = "vcc_sys"; | 80 | regulator-name = "vcc_sys"; |
| 81 | regulator-min-microvolt = <3700000>; | ||
| 82 | regulator-max-microvolt = <3700000>; | ||
| 83 | regulator-always-on; | ||
| 84 | regulator-boot-on; | ||
| 85 | vin-supply = <&dc12_vbat>; | ||
| 86 | }; | ||
| 87 | |||
| 88 | vboot_5v: vboot-5v { | ||
| 89 | compatible = "regulator-fixed"; | ||
| 90 | regulator-name = "vboot_sv"; | ||
| 91 | regulator-min-microvolt = <5000000>; | ||
| 92 | regulator-max-microvolt = <5000000>; | ||
| 93 | regulator-always-on; | ||
| 94 | regulator-boot-on; | ||
| 95 | vin-supply = <&dc12_vbat>; | ||
| 96 | }; | ||
| 97 | |||
| 98 | v3g_3v3: v3g-3v3 { | ||
| 99 | compatible = "regulator-fixed"; | ||
| 100 | regulator-name = "v3g_3v3"; | ||
| 101 | regulator-min-microvolt = <3300000>; | ||
| 102 | regulator-max-microvolt = <3300000>; | ||
| 103 | regulator-always-on; | ||
| 104 | regulator-boot-on; | ||
| 105 | vin-supply = <&dc12_vbat>; | ||
| 106 | }; | ||
| 107 | |||
| 108 | vsus_5v: vsus-5v { | ||
| 109 | compatible = "regulator-fixed"; | ||
| 110 | regulator-name = "vsus_5v"; | ||
| 74 | regulator-min-microvolt = <5000000>; | 111 | regulator-min-microvolt = <5000000>; |
| 75 | regulator-max-microvolt = <5000000>; | 112 | regulator-max-microvolt = <5000000>; |
| 76 | regulator-always-on; | 113 | regulator-always-on; |
| 77 | regulator-boot-on; | 114 | regulator-boot-on; |
| 115 | vin-supply = <&vcc_io>; | ||
| 116 | }; | ||
| 117 | |||
| 118 | vusb1_5v: vusb1-5v { | ||
| 119 | compatible = "regulator-fixed"; | ||
| 120 | regulator-name = "vusb1_5v"; | ||
| 121 | enable-active-high; | ||
| 122 | gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; /* OTG_VBUS_DRV */ | ||
| 123 | pinctrl-names = "default"; | ||
| 124 | pinctrl-0 = <&otg_vbus_drv>; | ||
| 125 | regulator-min-microvolt = <5000000>; | ||
| 126 | regulator-max-microvolt = <5000000>; | ||
| 127 | regulator-always-on; | ||
| 128 | regulator-boot-on; | ||
| 129 | vin-supply = <&vsus_5v>; | ||
| 130 | }; | ||
| 131 | |||
| 132 | vusb2_5v: vusb2-5v { | ||
| 133 | compatible = "regulator-fixed"; | ||
| 134 | regulator-name = "vusb2_5v"; | ||
| 135 | enable-active-high; | ||
| 136 | gpio = <&gpio8 RK_PB1 GPIO_ACTIVE_HIGH>; /* USB2_PWR_EN */ | ||
| 137 | pinctrl-names = "default"; | ||
| 138 | pinctrl-0 = <&usb2_pwr_en>; | ||
| 139 | regulator-min-microvolt = <5000000>; | ||
| 140 | regulator-max-microvolt = <5000000>; | ||
| 141 | regulator-always-on; | ||
| 142 | regulator-boot-on; | ||
| 143 | vin-supply = <&vsus_5v>; | ||
| 144 | }; | ||
| 145 | |||
| 146 | ext_gmac: external-gmac-clock { | ||
| 147 | compatible = "fixed-clock"; | ||
| 148 | #clock-cells = <0>; | ||
| 149 | clock-frequency = <125000000>; | ||
| 150 | clock-output-names = "ext_gmac"; | ||
| 78 | }; | 151 | }; |
| 79 | }; | 152 | }; |
| 80 | 153 | ||
| @@ -82,6 +155,22 @@ | |||
| 82 | cpu0-supply = <&vdd_cpu>; | 155 | cpu0-supply = <&vdd_cpu>; |
| 83 | }; | 156 | }; |
| 84 | 157 | ||
| 158 | &gmac { | ||
| 159 | assigned-clocks = <&cru SCLK_MAC>; | ||
| 160 | assigned-clock-parents = <&ext_gmac>; | ||
| 161 | clock_in_out = "input"; | ||
| 162 | pinctrl-names = "default"; | ||
| 163 | pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; | ||
| 164 | phy-supply = <&vcc_lan>; | ||
| 165 | phy-mode = "rgmii"; | ||
| 166 | snps,reset-active-low; | ||
| 167 | snps,reset-delays-us = <0 10000 1000000>; | ||
| 168 | snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>; | ||
| 169 | tx_delay = <0x30>; | ||
