2017-12-15 18:44:26 +07:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
2017-03-27 16:40:49 +07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include "rk3328.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Rockchip RK3328 EVB";
|
|
|
|
compatible = "rockchip,rk3328-evb", "rockchip,rk3328";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial2:1500000n8";
|
|
|
|
};
|
2017-08-10 21:02:01 +07:00
|
|
|
|
2017-08-09 09:03:44 +07:00
|
|
|
dc_12v: dc-12v {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "dc_12v";
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-min-microvolt = <12000000>;
|
|
|
|
regulator-max-microvolt = <12000000>;
|
|
|
|
};
|
|
|
|
|
2017-08-24 09:37:01 +07:00
|
|
|
sdio_pwrseq: sdio-pwrseq {
|
|
|
|
compatible = "mmc-pwrseq-simple";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&wifi_enable_h>;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* On the module itself this is one of these (depending
|
|
|
|
* on the actual card populated):
|
|
|
|
* - SDIO_RESET_L_WL_REG_ON
|
|
|
|
* - PDN (power down when low)
|
|
|
|
*/
|
|
|
|
reset-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_sd: sdmmc-regulator {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdmmc0m1_gpio>;
|
|
|
|
regulator-name = "vcc_sd";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
vin-supply = <&vcc_io>;
|
|
|
|
};
|
|
|
|
|
2017-08-09 09:03:44 +07:00
|
|
|
vcc_sys: vcc-sys {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vcc_sys";
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
vin-supply = <&dc_12v>;
|
|
|
|
};
|
ARM: arm64: Devicetree updates for v4.14
As usual, device tree updates is the bulk of our material in this merge
window. This time around, 559 patches affecting both 32- and 64-bit
platforms.
Changes are too many to list individually, but some of the larger ones:
New platform/SoC support:
- Automotive:
+ Renesas R-Car D3 (R8A77995)
+ TI DT76x
+ MediaTek mt2712e
- Communication-oriented:
+ Qualcomm IPQ8074
+ Broadcom Stingray
+ Marvell Armada 8080
- Set top box:
+ Uniphier PXs3
Besides some vendor reference boards for the SoC above, there are also several
new boards/machines:
- TI AM335x Moxa UC-8100-ME-T open platform
- TI AM57xx Beaglebone X15 Rev C
- Microchip/Atmel sama5d27 SoM1 EK
- Broadcom Raspberry Pi Zero W
- Gemini-based D-Link DIR-685 router
- Freescale i.MX6:
+ Toradex Apalis module + Apalis and Ixora carrier boards
+ Engicam GEAM6UL Starter Kit
- Freescale i.MX53-based Beckhoff CX9020 Embedded PC
- Mediatek mt7623-based BananaPi R2
- Several Allwinner-based single-board computers:
+ Cubietruck plus
+ Bananapi M3, M2M and M64
+ NanoPi A64
+ A64-OLinuXino
+ Pine64
- Rockchip RK3328 Pine64/Rock64 board support
- Rockchip RK3399 boards:
+ RK3399 Sapphire module on Excavator carrier (RK3399 reference design)
+ Theobroma Systems RK3399-Q7 SoM
- ZTE ZX296718 PCBOX Board
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJZtdtjAAoJEIwa5zzehBx3PzgP/iCQyUk5wklG9E5YNl8a9m/o
djBkelabTm52s5ZTu6Awsq5rx8jUMqcb0vo+9v9yPWFG6On2oTZyZ/rE1Wbj3+gG
+ENVyRgxmzYDTXqQLiu1UOV9wSA0gHwQCRZvE7i32NNfLu+tAsvu9e/AuznQ1xhR
4G7dGCRRlRkZkrVKrJ7JjklmW578pFQkZLmz8K2nWqwh1tKpK3fY19SrwUKx+YCR
tnMPYAPjB5zxR9tfcDS4FUKdiC7dMiMzZNGiYl5a26X6wsNR7xYtNzFMaGZn1ecG
PwOS+DAnj8J+AfpQBLWu9xytHbJdqITRuNcF+OXNVW9TKmb0syf7VgRUDkhjIMxP
aGZc4Q6PwgTRwnX+w6fTzJTyk+uXtieCicZaaZ1jlgcQq0pfbzJ1vZMpq4aoVlxU
mS84i1bd8AiavmHuyIRNB3/T4aAsVhTUIBndXluKV8yWroXhAukfI1YmGr1Eux7C
fy5pPeDqk9lXR3bqIhfnaLoVsApEXTOWMC8X48vwfaQHiCGR9JJwpfsGcaNi1bri
Col1qRzkXWGA6KqTWtpo+o12rYuMGc0mpZTCmejKuBoxMXOU+wLyJYgaxa7pyesX
S5rLaIe2l9ppXHjjEERp7AzczzLS5W20Tez5vYnZAQb1dYuJzwXwiATt8NT+XG3V
Wu92UwUfjxYk8vGz48ph
=R45j
-----END PGP SIGNATURE-----
Merge tag 'armsoc-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM/arm64 Devicetree updates from Olof Johansson:
"As usual, device tree updates is the bulk of our material in this
merge window. This time around, 559 patches affecting both 32- and
64-bit platforms.
Changes are too many to list individually, but some of the larger
ones:
New platform/SoC support:
- Automotive:
+ Renesas R-Car D3 (R8A77995)
+ TI DT76x
+ MediaTek mt2712e
- Communication-oriented:
+ Qualcomm IPQ8074
+ Broadcom Stingray
+ Marvell Armada 8080
- Set top box:
+ Uniphier PXs3
Besides some vendor reference boards for the SoC above, there are also
several new boards/machines:
- TI AM335x Moxa UC-8100-ME-T open platform
- TI AM57xx Beaglebone X15 Rev C
- Microchip/Atmel sama5d27 SoM1 EK
- Broadcom Raspberry Pi Zero W
- Gemini-based D-Link DIR-685 router
- Freescale i.MX6:
+ Toradex Apalis module + Apalis and Ixora carrier boards
+ Engicam GEAM6UL Starter Kit
- Freescale i.MX53-based Beckhoff CX9020 Embedded PC
- Mediatek mt7623-based BananaPi R2
- Several Allwinner-based single-board computers:
+ Cubietruck plus
+ Bananapi M3, M2M and M64
+ NanoPi A64
+ A64-OLinuXino
+ Pine64
- Rockchip RK3328 Pine64/Rock64 board support
- Rockchip RK3399 boards:
+ RK3399 Sapphire module on Excavator carrier (RK3399 reference design)
+ Theobroma Systems RK3399-Q7 SoM
- ZTE ZX296718 PCBOX Board"
* tag 'armsoc-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (559 commits)
ARM: dts: at91: at91sam9g45: add AC97
arm64: dts: marvell: mcbin: enable more networking ports
arm64: dts: marvell: add a reference to the sysctrl syscon in the ppv2 node
arm64: dts: marvell: add TX interrupts for PPv2.2
arm64: dts: uniphier: add PXs3 SoC support
ARM: dts: uniphier: add pinctrl groups of ethernet phy mode
ARM: dts: uniphier: fix size of sdctrl nodes
ARM: dts: uniphier: add AIDET nodes
arm64: dts: uniphier: fix size of sdctrl node
arm64: dts: uniphier: add AIDET nodes
Revert "ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2"
arm64: dts: uniphier: add reset controller node of analog amplifier
arm64: dts: marvell: add Device Tree files for Armada-8KP
arm64: dts: rockchip: add Haikou baseboard with RK3399-Q7 SoM
arm64: dts: rockchip: add RK3399-Q7 (Puma) SoM
dt-bindings: add rk3399-q7 SoM
ARM: dts: rockchip: enable usb for rv1108-evb
ARM: dts: rockchip: add usb nodes for rv1108 SoCs
dt-bindings: update grf-binding for rv1108 SoCs
ARM: dts: aspeed-g4: fix AHB window size of the SMC controllers
...
2017-09-11 10:54:48 +07:00
|
|
|
|
2017-08-10 21:02:01 +07:00
|
|
|
vcc_phy: vcc-phy-regulator {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vcc_phy";
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-08-24 09:37:03 +07:00
|
|
|
&cpu0 {
|
|
|
|
cpu-supply = <&vdd_arm>;
|
|
|
|
};
|
|
|
|
|
2017-08-24 09:37:01 +07:00
|
|
|
&emmc {
|
|
|
|
bus-width = <8>;
|
|
|
|
cap-mmc-highspeed;
|
|
|
|
non-removable;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-08-10 21:02:01 +07:00
|
|
|
&gmac2phy {
|
|
|
|
phy-supply = <&vcc_phy>;
|
|
|
|
clock_in_out = "output";
|
|
|
|
assigned-clocks = <&cru SCLK_MAC2PHY_SRC>;
|
|
|
|
assigned-clock-rate = <50000000>;
|
|
|
|
assigned-clocks = <&cru SCLK_MAC2PHY>;
|
|
|
|
assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
|
2017-08-24 09:37:01 +07:00
|
|
|
|
2017-03-27 16:40:49 +07:00
|
|
|
};
|
|
|
|
|
2017-08-09 09:03:44 +07:00
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
rk805: rk805@18 {
|
|
|
|
compatible = "rockchip,rk805";
|
|
|
|
reg = <0x18>;
|
|
|
|
interrupt-parent = <&gpio2>;
|
|
|
|
interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
clock-output-names = "xin32k", "rk805-clkout2";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pmic_int_l>;
|
|
|
|
rockchip,system-power-controller;
|
|
|
|
wakeup-source;
|
|
|
|
|
|
|
|
vcc1-supply = <&vcc_sys>;
|
|
|
|
vcc2-supply = <&vcc_sys>;
|
|
|
|
vcc3-supply = <&vcc_sys>;
|
|
|
|
vcc4-supply = <&vcc_sys>;
|
|
|
|
vcc5-supply = <&vcc_io>;
|
|
|
|
vcc6-supply = <&vcc_io>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
vdd_logic: DCDC_REG1 {
|
|
|
|
regulator-name = "vdd_logic";
|
|
|
|
regulator-min-microvolt = <712500>;
|
|
|
|
regulator-max-microvolt = <1450000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <1000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_arm: DCDC_REG2 {
|
|
|
|
regulator-name = "vdd_arm";
|
|
|
|
regulator-min-microvolt = <712500>;
|
|
|
|
regulator-max-microvolt = <1450000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <950000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_ddr: DCDC_REG3 {
|
|
|
|
regulator-name = "vcc_ddr";
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_io: DCDC_REG4 {
|
|
|
|
regulator-name = "vcc_io";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc_18: LDO_REG1 {
|
|
|
|
regulator-name = "vcc_18";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vcc18_emmc: LDO_REG2 {
|
|
|
|
regulator-name = "vcc18_emmc";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_10: LDO_REG3 {
|
|
|
|
regulator-name = "vdd_10";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-state-mem {
|
|
|
|
regulator-on-in-suspend;
|
|
|
|
regulator-suspend-microvolt = <1000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
pmic {
|
|
|
|
pmic_int_l: pmic-int-l {
|
|
|
|
rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
|
|
};
|
|
|
|
};
|
2017-08-24 09:37:01 +07:00
|
|
|
|
|
|
|
sdio-pwrseq {
|
|
|
|
wifi_enable_h: wifi-enable-h {
|
|
|
|
rockchip,pins =
|
|
|
|
<1 18 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdio {
|
|
|
|
bus-width = <4>;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
cap-sdio-irq;
|
|
|
|
keep-power-in-suspend;
|
|
|
|
max-frequency = <150000000>;
|
|
|
|
mmc-pwrseq = <&sdio_pwrseq>;
|
|
|
|
non-removable;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc {
|
|
|
|
bus-width = <4>;
|
|
|
|
cap-mmc-highspeed;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
disable-wp;
|
|
|
|
max-frequency = <150000000>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
|
|
|
|
vmmc-supply = <&vcc_sd>;
|
|
|
|
status = "okay";
|
2017-03-27 16:40:49 +07:00
|
|
|
};
|
|
|
|
|
2017-08-04 15:09:40 +07:00
|
|
|
&tsadc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-03-27 16:40:49 +07:00
|
|
|
&uart2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-06-16 17:34:15 +07:00
|
|
|
|
|
|
|
&u2phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&u2phy_host {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&u2phy_otg {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb20_otg {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb_host0_ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb_host0_ohci {
|
|
|
|
status = "okay";
|
|
|
|
};
|