Commit 1a88083b authored by Olof Johansson's avatar Olof Johansson

Merge tag 'v5.2-rockchip-dts64-1' of...

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

Core new soc features are hdmi-cec for rk3328, scheduler capacity-values
and emmc cleanups for rk3399. New boards are the OrangePi (rk3399) and
NanoPi NEO4. Both the OrangePi as well as the NanoPC/Pie family also
directly got some additional features added after the boards itself.

The Rock960 family (rock960+ficus) got their power-tree cleaned to match
the schematics and also got hdmi-audio and their gpu enabled.

Mali support also got enabled on the RockPi4 and finally both
rk3328-rock64 and rk3328-roc-cc got some additional features.

* tag 'v5.2-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (23 commits)
  arm64: dts: rockchip: Decrease emmc-phy's drive impedance on rk3399-puma
  arm64: dts: rockchip: Define drive-impedance-ohm for RK3399's emmc-phy.
  arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
  arm64: dts: rockchip: Add nanopi4 ethernet phy
  arm64: dts: rockchip: Add PWM fan for NanoPC-T4
  arm64: dts: rockchip: Add the fusb typec manager to rk3399-orangepi
  arm64: dts: rockchip: Specify vid supply for the rk3399-orangepi compass (AK09911)
  arm64: dts: rockchip: Fix clock names and add missing supplies for bluetooth on rk3399-orangepi
  arm64: dts: rockchip: Add 12V DCIN regulator to rk3399-ficus
  arm64: dts: rockchip: Rename vcc_sys into vcc5v0_sys on rk3399-rock960
  arm64: dts: rockchip: Add Nanopi NEO4 initial support
  arm64: dts: rockchip: enable hdmi audio out for rk3399-rockpro64
  arm64: dts: rockchip: Add support for the Orange Pi RK3399 board.
  arm64: dts: rockchip: enable mali on rock960 boards
  arm64: dts: rockchip: enable mali on Rock Pi 4
  arm64: dts: rockchip: add rk3328-roc-cc cpu-supply entries for all cpu nodes
  arm64: dts: rockchip: give some life to the rk3328-roc-cc leds
  arm64: dts: rockchip: add #sound-dai-cells to HDMI of rk3328
  arm64: dts: rockchip: add ir-receiver node on rk3328-rock64
  arm64: dts: rockchip: add leds node on rk3328-rock64
  ...
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents f6f9683c b4e17282
...@@ -97,6 +97,7 @@ properties: ...@@ -97,6 +97,7 @@ properties:
- enum: - enum:
- friendlyarm,nanopc-t4 - friendlyarm,nanopc-t4
- friendlyarm,nanopi-m4 - friendlyarm,nanopi-m4
- friendlyarm,nanopi-neo4
- const: rockchip,rk3399 - const: rockchip,rk3399
- description: GeekBuying GeekBox - description: GeekBuying GeekBox
...@@ -325,6 +326,11 @@ properties: ...@@ -325,6 +326,11 @@ properties:
- const: netxeon,r89 - const: netxeon,r89
- const: rockchip,rk3288 - const: rockchip,rk3288
- description: Orange Pi RK3399 board
items:
- const: rockchip,rk3399-orangepi
- const: rockchip,rk3399
- description: Phytec phyCORE-RK3288 Rapid Development Kit - description: Phytec phyCORE-RK3288 Rapid Development Kit
items: items:
- const: phytec,rk3288-pcm-947 - const: phytec,rk3288-pcm-947
......
...@@ -18,6 +18,8 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-inx.dtb ...@@ -18,6 +18,8 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-inx.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-kd.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-kd.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopc-t4.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopc-t4.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-m4.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-m4.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-neo4.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-orangepi.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rock-pi-4.dtb
......
...@@ -81,12 +81,44 @@ vcc_phy: vcc-phy-regulator { ...@@ -81,12 +81,44 @@ vcc_phy: vcc-phy-regulator {
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
}; };
leds {
compatible = "gpio-leds";
power {
label = "firefly:blue:power";
linux,default-trigger = "heartbeat";
gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
default-state = "on";
mode = <0x23>;
};
user {
label = "firefly:yellow:user";
linux,default-trigger = "mmc1";
gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
default-state = "off";
mode = <0x05>;
};
};
}; };
&cpu0 { &cpu0 {
cpu-supply = <&vdd_arm>; cpu-supply = <&vdd_arm>;
}; };
&cpu1 {
cpu-supply = <&vdd_arm>;
};
&cpu2 {
cpu-supply = <&vdd_arm>;
};
&cpu3 {
cpu-supply = <&vdd_arm>;
};
&emmc { &emmc {
bus-width = <8>; bus-width = <8>;
cap-mmc-highspeed; cap-mmc-highspeed;
......
...@@ -65,6 +65,27 @@ vcc_sys: vcc-sys { ...@@ -65,6 +65,27 @@ vcc_sys: vcc-sys {
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
}; };
ir-receiver {
compatible = "gpio-ir-receiver";
gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&ir_int>;
pinctrl-names = "default";
};
leds {
compatible = "gpio-leds";
power {
gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "mmc0";
};
standby {
gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
};
sound { sound {
compatible = "audio-graph-card"; compatible = "audio-graph-card";
label = "rockchip,rk3328"; label = "rockchip,rk3328";
...@@ -157,6 +178,8 @@ rk805: rk805@18 { ...@@ -157,6 +178,8 @@ rk805: rk805@18 {
interrupts = <6 IRQ_TYPE_LEVEL_LOW>; interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
#clock-cells = <1>; #clock-cells = <1>;
clock-output-names = "xin32k", "rk805-clkout2"; clock-output-names = "xin32k", "rk805-clkout2";
gpio-controller;
#gpio-cells = <2>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pmic_int_l>; pinctrl-0 = <&pmic_int_l>;
rockchip,system-power-controller; rockchip,system-power-controller;
...@@ -218,7 +241,7 @@ regulator-state-mem { ...@@ -218,7 +241,7 @@ regulator-state-mem {
}; };
vcc_18: LDO_REG1 { vcc_18: LDO_REG1 {
regulator-name = "vdd_18"; regulator-name = "vcc_18";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-always-on; regulator-always-on;
...@@ -230,7 +253,7 @@ regulator-state-mem { ...@@ -230,7 +253,7 @@ regulator-state-mem {
}; };
vcc18_emmc: LDO_REG2 { vcc18_emmc: LDO_REG2 {
regulator-name = "vcc_18emmc"; regulator-name = "vcc18_emmc";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-always-on; regulator-always-on;
...@@ -281,6 +304,12 @@ &io_domains { ...@@ -281,6 +304,12 @@ &io_domains {
}; };
&pinctrl { &pinctrl {
ir {
ir_int: ir-int {
rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
pmic { pmic {
pmic_int_l: pmic-int-l { pmic_int_l: pmic-int-l {
rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
......
...@@ -657,14 +657,17 @@ hdmi: hdmi@ff3c0000 { ...@@ -657,14 +657,17 @@ hdmi: hdmi@ff3c0000 {
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru PCLK_HDMI>, clocks = <&cru PCLK_HDMI>,
<&cru SCLK_HDMI_SFC>; <&cru SCLK_HDMI_SFC>,
<&cru SCLK_RTC32K>;
clock-names = "iahb", clock-names = "iahb",
"isfr"; "isfr",
"cec";
phys = <&hdmiphy>; phys = <&hdmiphy>;
phy-names = "hdmi"; phy-names = "hdmi";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>; pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>;
rockchip,grf = <&grf>; rockchip,grf = <&grf>;
#sound-dai-cells = <0>;
status = "disabled"; status = "disabled";
ports { ports {
......
...@@ -52,6 +52,73 @@ ir-receiver { ...@@ -52,6 +52,73 @@ ir-receiver {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ir_rx>; pinctrl-0 = <&ir_rx>;
}; };
fan: pwm-fan {
compatible = "pwm-fan";
/*
* With 20KHz PWM and an EVERCOOL EC4007H12SA fan, these levels
* work out to 0, ~1200, ~3000, and 5000RPM respectively.
*/
cooling-levels = <0 12 18 255>;
#cooling-cells = <2>;
fan-supply = <&vcc12v0_sys>;
pwms = <&pwm1 0 50000 0>;
};
};
&cpu_thermal {
trips {
cpu_warm: cpu_warm {
temperature = <55000>;
hysteresis = <2000>;
type = "active";
};
cpu_hot: cpu_hot {
temperature = <65000>;
hysteresis = <2000>;
type = "active";
};
};
cooling-maps {
map2 {
trip = <&cpu_warm>;
cooling-device = <&fan THERMAL_NO_LIMIT 1>;
};
map3 {
trip = <&cpu_hot>;
cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
};
};
};
&gpu_thermal {
trips {
gpu_warm: gpu_warm {
temperature = <55000>;
hysteresis = <2000>;
type = "active";
};
gpu_hot: gpu_hot {
temperature = <65000>;
hysteresis = <2000>;
type = "active";
};
};
cooling-maps {
map1 {
trip = <&gpu_warm>;
cooling-device = <&fan THERMAL_NO_LIMIT 1>;
};
map2 {
trip = <&gpu_hot>;
cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
};
};
}; };
&pinctrl { &pinctrl {
......
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (C) 2019 Amarula Solutions B.V.
* Author: Jagan Teki <jagan@amarulasolutions.com>
*/
/dts-v1/;
#include "rk3399-nanopi4.dtsi"
/ {
model = "FriendlyARM NanoPi NEO4";
compatible = "friendlyarm,nanopi-neo4", "rockchip,rk3399";
vdd_5v: vdd-5v {
compatible = "regulator-fixed";
regulator-name = "vdd_5v";
regulator-always-on;
regulator-boot-on;
};
vcc5v0_core: vcc5v0-core {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_core";
regulator-always-on;
regulator-boot-on;
vin-supply = <&vdd_5v>;
};
vcc5v0_usb1: vcc5v0-usb1 {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_usb1";
regulator-always-on;
regulator-boot-on;
vin-supply = <&vcc5v0_sys>;
};
};
&vcc3v3_sys {
vin-supply = <&vcc5v0_core>;
};
&u2phy0_host {
phy-supply = <&vcc5v0_usb1>;
};
&vbus_typec {
regulator-always-on;
vin-supply = <&vdd_5v>;
};
...@@ -148,15 +148,28 @@ &gmac { ...@@ -148,15 +148,28 @@ &gmac {
assigned-clocks = <&cru SCLK_RMII_SRC>; assigned-clocks = <&cru SCLK_RMII_SRC>;
clock_in_out = "input"; clock_in_out = "input";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>; pinctrl-0 = <&rgmii_pins>, <&phy_intb>, <&phy_rstb>;
phy-handle = <&rtl8211e>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&vcc3v3_s3>; phy-supply = <&vcc3v3_s3>;
snps,reset-active-low; snps,reset-active-low;
snps,reset-delays-us = <0 10000 50000>; snps,reset-delays-us = <0 10000 30000>;
snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
tx_delay = <0x28>; tx_delay = <0x28>;
rx_delay = <0x11>; rx_delay = <0x11>;
status = "okay"; status = "okay";
mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
#size-cells = <0>;
rtl8211e: phy@1 {
reg = <1>;
interrupt-parent = <&gpio3>;
interrupts = <RK_PB2 IRQ_TYPE_LEVEL_LOW>;
};
};
}; };
&gpu { &gpu {
...@@ -481,6 +494,16 @@ leds_gpio: leds-gpio { ...@@ -481,6 +494,16 @@ leds_gpio: leds-gpio {
}; };
}; };
phy {
phy_intb: phy-intb {
rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
};
phy_rstb: phy-rstb {
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
pmic { pmic {
cpu_b_sleep: cpu-b-sleep { cpu_b_sleep: cpu-b-sleep {
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>; rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
......
This diff is collapsed.
...@@ -146,6 +146,7 @@ &cpu_l3 { ...@@ -146,6 +146,7 @@ &cpu_l3 {
&emmc_phy { &emmc_phy {
status = "okay"; status = "okay";
drive-impedance-ohm = <33>;
}; };
&gmac { &gmac {
......
...@@ -157,6 +157,11 @@ &gmac { ...@@ -157,6 +157,11 @@ &gmac {
status = "okay"; status = "okay";
}; };
&gpu {
mali-supply = <&vdd_gpu>;
status = "okay";
};
&hdmi { &hdmi {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&hdmi_cec>; pinctrl-0 = <&hdmi_cec>;
......
...@@ -18,6 +18,15 @@ sdio_pwrseq: sdio-pwrseq { ...@@ -18,6 +18,15 @@ sdio_pwrseq: sdio-pwrseq {
reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
}; };
vcc12v_dcin: vcc12v-dcin {
compatible = "regulator-fixed";
regulator-name = "vcc12v_dcin";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
regulator-always-on;
regulator-boot-on;
};
vcc1v8_s0: vcc1v8-s0 { vcc1v8_s0: vcc1v8-s0 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "vcc1v8_s0"; regulator-name = "vcc1v8_s0";
...@@ -26,12 +35,13 @@ vcc1v8_s0: vcc1v8-s0 { ...@@ -26,12 +35,13 @@ vcc1v8_s0: vcc1v8-s0 {
regulator-always-on; regulator-always-on;
}; };
vcc_sys: vcc-sys { vcc5v0_sys: vcc5v0-sys {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "vcc_sys"; regulator-name = "vcc5v0_sys";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-always-on; regulator-always-on;
vin-supply = <&vcc12v_dcin>;
}; };
vcc3v3_sys: vcc3v3-sys { vcc3v3_sys: vcc3v3-sys {
...@@ -40,7 +50,7 @@ vcc3v3_sys: vcc3v3-sys { ...@@ -40,7 +50,7 @@ vcc3v3_sys: vcc3v3-sys {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on; regulator-always-on;
vin-supply = <&vcc_sys>; vin-supply = <&vcc5v0_sys>;
}; };
vcc3v3_pcie: vcc3v3-pcie-regulator { vcc3v3_pcie: vcc3v3-pcie-regulator {
...@@ -64,7 +74,7 @@ vcc5v0_host: vcc5v0-host-regulator { ...@@ -64,7 +74,7 @@ vcc5v0_host: vcc5v0-host-regulator {
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-always-on; regulator-always-on;
vin-supply = <&vcc_sys>; vin-supply = <&vcc5v0_sys>;
}; };
}; };
...@@ -96,6 +106,11 @@ &emmc_phy { ...@@ -96,6 +106,11 @@ &emmc_phy {
status = "okay"; status = "okay";
}; };
&gpu {
mali-supply = <&vdd_gpu>;
status = "okay";
};
&hdmi { &hdmi {
ddc-i2c-bus = <&i2c3>; ddc-i2c-bus = <&i2c3>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -123,7 +138,7 @@ vdd_cpu_b: regulator@40 { ...@@ -123,7 +138,7 @@ vdd_cpu_b: regulator@40 {
regulator-ramp-delay = <1000>; regulator-ramp-delay = <1000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
vin-supply = <&vcc_sys>; vin-supply = <&vcc5v0_sys>;
status = "okay"; status = "okay";
regulator-state-mem { regulator-state-mem {
...@@ -141,7 +156,7 @@ vdd_gpu: regulator@41 { ...@@ -141,7 +156,7 @@ vdd_gpu: regulator@41 {
regulator-ramp-delay = <1000>; regulator-ramp-delay = <1000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
vin-supply = <&vcc_sys>; vin-supply = <&vcc5v0_sys>;
regulator-state-mem { regulator-state-mem {
regulator-off-in-suspend; regulator-off-in-suspend;
}; };
...@@ -159,16 +174,16 @@ rk808: pmic@1b { ...@@ -159,16 +174,16 @@ rk808: pmic@1b {
#clock-cells = <1>; #clock-cells = <1>;
clock-output-names = "xin32k", "rk808-clkout2"; clock-output-names = "xin32k", "rk808-clkout2";
vcc1-supply = <&vcc_sys>; vcc1-supply = <&vcc5v0_sys>;
vcc2-supply = <&vcc_sys>; vcc2-supply = <&vcc5v0_sys>;
vcc3-supply = <&vcc_sys>; vcc3-supply = <&vcc5v0_sys>;
vcc4-supply = <&vcc_sys>; vcc4-supply = <&vcc5v0_sys>;
vcc6-supply = <&vcc_sys>; vcc6-supply = <&vcc5v0_sys>;
vcc7-supply = <&vcc_sys>; vcc7-supply = <&vcc5v0_sys>;
vcc8-supply = <&vcc3v3_sys>; vcc8-supply = <&vcc3v3_sys>;
vcc9-supply = <&vcc_sys>; vcc9-supply = <&vcc5v0_sys>;
vcc10-supply = <&vcc_sys>; vcc10-supply = <&vcc5v0_sys>;
vcc11-supply = <&vcc_sys>; vcc11-supply = <&vcc5v0_sys>;
vcc12-supply = <&vcc3v3_sys>; vcc12-supply = <&vcc3v3_sys>;
vddio-supply = <&vcc_1v8>; vddio-supply = <&vcc_1v8>;
......
...@@ -222,6 +222,10 @@ &hdmi { ...@@ -222,6 +222,10 @@ &hdmi {
status = "okay"; status = "okay";
}; };
&hdmi_sound {
status = "okay";
};
&gpu { &gpu {
mali-supply = <&vdd_gpu>; mali-supply = <&vdd_gpu>;
status = "okay"; status = "okay";
......
...@@ -71,6 +71,7 @@ cpu_l0: cpu@0 { ...@@ -71,6 +71,7 @@ cpu_l0: cpu@0 {
compatible = "arm,cortex-a53"; compatible = "arm,cortex-a53";
reg = <0x0 0x0>; reg = <0x0 0x0>;
enable-method = "psci"; enable-method = "psci";
capacity-dmips-mhz = <485>;
clocks = <&cru ARMCLKL>; clocks = <&cru ARMCLKL>;
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
dynamic-power-coefficient = <100>; dynamic-power-coefficient = <100>;
...@@ -82,6 +83,7 @@ cpu_l1: cpu@1 { ...@@ -82,6 +83,7 @@ cpu_l1: cpu@1 {
compatible = "arm,cortex-a53"; compatible = "arm,cortex-a53";
reg = <0x0 0x1>; reg = <0x0 0x1>;
enable-method = "psci"; enable-method = "psci";
capacity-dmips-mhz = <485>;
clocks = <&cru ARMCLKL>; clocks = <&cru ARMCLKL>;
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
dynamic-power-coefficient = <100>; dynamic-power-coefficient = <100>;
...@@ -93,6 +95,7 @@ cpu_l2: cpu@2 { ...@@ -93,6 +95,7 @@ cpu_l2: cpu@2 {
compatible = "arm,cortex-a53"; compatible = "arm,cortex-a53";
reg = <0x0 0x2>; reg = <0x0 0x2>;
enable-method = "psci"; enable-method = "psci";
capacity-dmips-mhz = <485>;
clocks = <&cru ARMCLKL>; clocks = <&cru ARMCLKL>;
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
dynamic-power-coefficient = <100>; dynamic-power-coefficient = <100>;
...@@ -104,6 +107,7 @@ cpu_l3: cpu@3 { ...@@ -104,6 +107,7 @@ cpu_l3: cpu@3 {
compatible = "arm,cortex-a53"; compatible = "arm,cortex-a53";
reg = <0x0 0x3>; reg = <0x0 0x3>;
enable-method = "psci"; enable-method = "psci";
capacity-dmips-mhz = <485>;
clocks = <&cru ARMCLKL>; clocks = <&cru ARMCLKL>;
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
dynamic-power-coefficient = <100>; dynamic-power-coefficient = <100>;
...@@ -115,6 +119,7 @@ cpu_b0: cpu@100 { ...@@ -115,6 +119,7 @@ cpu_b0: cpu@100 {
compatible = "arm,cortex-a72"; compatible = "arm,cortex-a72";
reg = <0x0 0x100>; reg = <0x0 0x100>;
enable-method = "psci"; enable-method = "psci";
capacity-dmips-mhz = <1024>;
clocks = <&cru ARMCLKB>; clocks = <&cru ARMCLKB>;
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
dynamic-power-coefficient = <436>; dynamic-power-coefficient = <436>;
...@@ -126,6 +131,7 @@ cpu_b1: cpu@101 { ...@@ -126,6 +131,7 @@ cpu_b1: cpu@101 {
compatible = "arm,cortex-a72"; compatible = "arm,cortex-a72";
reg = <0x0 0x101>; reg = <0x0 0x101>;
enable-method = "psci"; enable-method = "psci";
capacity-dmips-mhz = <1024>;
clocks = <&cru ARMCLKB>; clocks = <&cru ARMCLKB>;
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
dynamic-power-coefficient = <436>; dynamic-power-coefficient = <436>;
...@@ -333,6 +339,7 @@ sdhci: sdhci@fe330000 { ...@@ -333,6 +339,7 @@ sdhci: sdhci@fe330000 {
phys = <&emmc_phy>; phys = <&emmc_phy>;
phy-names = "phy_arasan"; phy-names = "phy_arasan";
power-domains = <&power RK3399_PD_EMMC>; power-domains = <&power RK3399_PD_EMMC>;
disable-cqe-dcmd;
status = "disabled"; status = "disabled";
}; };
...@@ -1450,6 +1457,7 @@ pcie_phy: pcie-phy { ...@@ -1450,6 +1457,7 @@ pcie_phy: pcie-phy {
clock-names = "refclk"; clock-names = "refclk";
#phy-cells = <1>; #phy-cells = <1>;
resets = <&cru SRST_PCIEPHY>; resets = <&cru SRST_PCIEPHY>;
drive-impedance-ohm = <50>;
reset-names = "phy"; reset-names = "phy";
status = "disabled"; status = "disabled";
}; };
......
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