A bunch of changes including mali gpu nodes for rk3288 boards
following (and including) the new Mali Midgard binding; a lot of improvements for the rk3228/rk3229 socs (tsadc, operating points, usb, clock-rates, pinctrl, watchdog); finalizing the rk1108->rv1108 rename and adc buttons for the rk3288 firefly boards. -----BEGIN PGP SIGNATURE----- iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAlk5x+gQHGhlaWtvQHNu dGVjaC5kZQAKCRDzpnnJnNEdgVOmB/sHN5YBQCwdlermcO75CiLktacneQ6qcom2 GCBHfKwXxmey7puB8cKfQ1IgvvsKmXU1+QbUDjxD13p7b139WVRM3VEokOiSR7cl XjGFFy9u6ECfPRpJfPBN/8oENcZ1N94S3gfhCwgcF6JDkumMI4DWVTLD4lZLeIcR LTfZMddSevITXMzrWh0+Q9/TgnJbD58x4lSxs5m85h/8JDSfqdsijs/j2HJrBHPv 01NwQBm8w6rmTNL3UGfqDeUZTnmaczXRf2sgEr5ORLln2Qn++FpUaJiRPUdtYRs7 NEWLppFQeykoxgTQnttkt8oOyaKfNS3PsvwgA7R35w5HnbEtXcDK =b2HZ -----END PGP SIGNATURE----- Merge tag 'v4.13-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt A bunch of changes including mali gpu nodes for rk3288 boards following (and including) the new Mali Midgard binding; a lot of improvements for the rk3228/rk3229 socs (tsadc, operating points, usb, clock-rates, pinctrl, watchdog); finalizing the rk1108->rv1108 rename and adc buttons for the rk3288 firefly boards. * tag 'v4.13-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: ARM: dts: rockchip: enable usb for rk3229 evb board ARM: dts: rockchip: add usb nodes on rk322x ARM: dts: rockchip: add adc button for Firefly ARM: dts: rockchip: enable ARM Mali GPU on rk3288-veyron ARM: dts: rockchip: enable ARM Mali GPU on rk3288-firefly ARM: dts: rockchip: enable ARM Mali GPU on rk3288-rock2-som ARM: dts: rockchip: add ARM Mali GPU node for rk3288 dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU ARM: dts: rockchip: set a sane frequence for tsadc on rk322x ARM: dts: rockchip: add operating-points-v2 for cpu on rk322x ARM: dts: rockchip: set default rates for core clocks on rk322x ARM: dts: rockchip: add second uart2 pinctrl on rk322x ARM: dts: rockchip: correct rk322x uart2 pinctrl ARM: dts: rockchip: add watchdog device node on rk322x clk: rockchip: add clock-ids for more rk3228 clocks clk: rockchip: add ids for camera on rk3399 ARM: dts: rockchip: fix rk322x i2s1 pinctrl error ARM: dts: rockchip: rename RK1108-evb to RV1108-evb ARM: dts: rockchip: rename core dtsi from RK1108 to RV1108 ARM: dts: rockchip: Setup usb vbus-supply on rk3288-rock2 Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
63a677bca2
15 changed files with 517 additions and 31 deletions
|
@ -138,9 +138,9 @@ Rockchip platforms device tree bindings
|
||||||
Required root node properties:
|
Required root node properties:
|
||||||
- compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
|
- compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
|
||||||
|
|
||||||
- Rockchip RK1108 Evaluation board
|
- Rockchip RV1108 Evaluation board
|
||||||
Required root node properties:
|
Required root node properties:
|
||||||
- compatible = "rockchip,rk1108-evb", "rockchip,rk1108";
|
- compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
|
||||||
|
|
||||||
- Rockchip RK3368 evb:
|
- Rockchip RK3368 evb:
|
||||||
Required root node properties:
|
Required root node properties:
|
||||||
|
|
86
Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt
Normal file
86
Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
ARM Mali Midgard GPU
|
||||||
|
====================
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
|
||||||
|
- compatible :
|
||||||
|
* Must contain one of the following:
|
||||||
|
+ "arm,mali-t604"
|
||||||
|
+ "arm,mali-t624"
|
||||||
|
+ "arm,mali-t628"
|
||||||
|
+ "arm,mali-t720"
|
||||||
|
+ "arm,mali-t760"
|
||||||
|
+ "arm,mali-t820"
|
||||||
|
+ "arm,mali-t830"
|
||||||
|
+ "arm,mali-t860"
|
||||||
|
+ "arm,mali-t880"
|
||||||
|
* which must be preceded by one of the following vendor specifics:
|
||||||
|
+ "amlogic,meson-gxm-mali"
|
||||||
|
+ "rockchip,rk3288-mali"
|
||||||
|
|
||||||
|
- reg : Physical base address of the device and length of the register area.
|
||||||
|
|
||||||
|
- interrupts : Contains the three IRQ lines required by Mali Midgard devices.
|
||||||
|
|
||||||
|
- interrupt-names : Contains the names of IRQ resources in the order they were
|
||||||
|
provided in the interrupts property. Must contain: "job", "mmu", "gpu".
|
||||||
|
|
||||||
|
|
||||||
|
Optional properties:
|
||||||
|
|
||||||
|
- clocks : Phandle to clock for the Mali Midgard device.
|
||||||
|
|
||||||
|
- mali-supply : Phandle to regulator for the Mali device. Refer to
|
||||||
|
Documentation/devicetree/bindings/regulator/regulator.txt for details.
|
||||||
|
|
||||||
|
- operating-points-v2 : Refer to Documentation/devicetree/bindings/power/opp.txt
|
||||||
|
for details.
|
||||||
|
|
||||||
|
|
||||||
|
Example for a Mali-T760:
|
||||||
|
|
||||||
|
gpu@ffa30000 {
|
||||||
|
compatible = "rockchip,rk3288-mali", "arm,mali-t760", "arm,mali-midgard";
|
||||||
|
reg = <0xffa30000 0x10000>;
|
||||||
|
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "job", "mmu", "gpu";
|
||||||
|
clocks = <&cru ACLK_GPU>;
|
||||||
|
mali-supply = <&vdd_gpu>;
|
||||||
|
operating-points-v2 = <&gpu_opp_table>;
|
||||||
|
power-domains = <&power RK3288_PD_GPU>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gpu_opp_table: opp_table0 {
|
||||||
|
compatible = "operating-points-v2";
|
||||||
|
|
||||||
|
opp@533000000 {
|
||||||
|
opp-hz = /bits/ 64 <533000000>;
|
||||||
|
opp-microvolt = <1250000>;
|
||||||
|
};
|
||||||
|
opp@450000000 {
|
||||||
|
opp-hz = /bits/ 64 <450000000>;
|
||||||
|
opp-microvolt = <1150000>;
|
||||||
|
};
|
||||||
|
opp@400000000 {
|
||||||
|
opp-hz = /bits/ 64 <400000000>;
|
||||||
|
opp-microvolt = <1125000>;
|
||||||
|
};
|
||||||
|
opp@350000000 {
|
||||||
|
opp-hz = /bits/ 64 <350000000>;
|
||||||
|
opp-microvolt = <1075000>;
|
||||||
|
};
|
||||||
|
opp@266000000 {
|
||||||
|
opp-hz = /bits/ 64 <266000000>;
|
||||||
|
opp-microvolt = <1025000>;
|
||||||
|
};
|
||||||
|
opp@160000000 {
|
||||||
|
opp-hz = /bits/ 64 <160000000>;
|
||||||
|
opp-microvolt = <925000>;
|
||||||
|
};
|
||||||
|
opp@100000000 {
|
||||||
|
opp-hz = /bits/ 64 <100000000>;
|
||||||
|
opp-microvolt = <912500>;
|
||||||
|
};
|
||||||
|
};
|
|
@ -719,7 +719,7 @@ dtb-$(CONFIG_ARCH_RENESAS) += \
|
||||||
r8a7794-silk.dtb \
|
r8a7794-silk.dtb \
|
||||||
sh73a0-kzm9g.dtb
|
sh73a0-kzm9g.dtb
|
||||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
|
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
|
||||||
rk1108-evb.dtb \
|
rv1108-evb.dtb \
|
||||||
rk3036-evb.dtb \
|
rk3036-evb.dtb \
|
||||||
rk3036-kylin.dtb \
|
rk3036-kylin.dtb \
|
||||||
rk3066a-bqcurie2.dtb \
|
rk3066a-bqcurie2.dtb \
|
||||||
|
|
|
@ -58,6 +58,17 @@
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vcc_host: vcc-host-regulator {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
enable-active-high;
|
||||||
|
gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&host_vbus_drv>;
|
||||||
|
regulator-name = "vcc_host";
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
};
|
||||||
|
|
||||||
vcc_phy: vcc-phy-regulator {
|
vcc_phy: vcc-phy-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
|
@ -85,6 +96,69 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pinctrl {
|
||||||
|
usb {
|
||||||
|
host_vbus_drv: host-vbus-drv {
|
||||||
|
rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&uart2 {
|
&uart2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&u2phy0 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
u2phy0_otg: otg-port {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
u2phy0_host: host-port {
|
||||||
|
phy-supply = <&vcc_host>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&u2phy1 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
u2phy1_otg: otg-port {
|
||||||
|
phy-supply = <&vcc_host>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
u2phy1_host: host-port {
|
||||||
|
phy-supply = <&vcc_host>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_host0_ehci {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_host0_ohci {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_host1_ehci {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_host1_ohci {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_host2_ehci {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_host2_ohci {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_otg {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
|
@ -66,10 +66,7 @@
|
||||||
compatible = "arm,cortex-a7";
|
compatible = "arm,cortex-a7";
|
||||||
reg = <0xf00>;
|
reg = <0xf00>;
|
||||||
resets = <&cru SRST_CORE0>;
|
resets = <&cru SRST_CORE0>;
|
||||||
operating-points = <
|
operating-points-v2 = <&cpu0_opp_table>;
|
||||||
/* KHz uV */
|
|
||||||
816000 1000000
|
|
||||||
>;
|
|
||||||
#cooling-cells = <2>; /* min followed by max */
|
#cooling-cells = <2>; /* min followed by max */
|
||||||
clock-latency = <40000>;
|
clock-latency = <40000>;
|
||||||
clocks = <&cru ARMCLK>;
|
clocks = <&cru ARMCLK>;
|
||||||
|
@ -80,6 +77,7 @@
|
||||||
compatible = "arm,cortex-a7";
|
compatible = "arm,cortex-a7";
|
||||||
reg = <0xf01>;
|
reg = <0xf01>;
|
||||||
resets = <&cru SRST_CORE1>;
|
resets = <&cru SRST_CORE1>;
|
||||||
|
operating-points-v2 = <&cpu0_opp_table>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu2: cpu@f02 {
|
cpu2: cpu@f02 {
|
||||||
|
@ -87,6 +85,7 @@
|
||||||
compatible = "arm,cortex-a7";
|
compatible = "arm,cortex-a7";
|
||||||
reg = <0xf02>;
|
reg = <0xf02>;
|
||||||
resets = <&cru SRST_CORE2>;
|
resets = <&cru SRST_CORE2>;
|
||||||
|
operating-points-v2 = <&cpu0_opp_table>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu3: cpu@f03 {
|
cpu3: cpu@f03 {
|
||||||
|
@ -94,6 +93,35 @@
|
||||||
compatible = "arm,cortex-a7";
|
compatible = "arm,cortex-a7";
|
||||||
reg = <0xf03>;
|
reg = <0xf03>;
|
||||||
resets = <&cru SRST_CORE3>;
|
resets = <&cru SRST_CORE3>;
|
||||||
|
operating-points-v2 = <&cpu0_opp_table>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
cpu0_opp_table: opp_table0 {
|
||||||
|
compatible = "operating-points-v2";
|
||||||
|
opp-shared;
|
||||||
|
|
||||||
|
opp-408000000 {
|
||||||
|
opp-hz = /bits/ 64 <408000000>;
|
||||||
|
opp-microvolt = <950000>;
|
||||||
|
clock-latency-ns = <40000>;
|
||||||
|
opp-suspend;
|
||||||
|
};
|
||||||
|
opp-600000000 {
|
||||||
|
opp-hz = /bits/ 64 <600000000>;
|
||||||
|
opp-microvolt = <975000>;
|
||||||
|
};
|
||||||
|
opp-816000000 {
|
||||||
|
opp-hz = /bits/ 64 <816000000>;
|
||||||
|
opp-microvolt = <1000000>;
|
||||||
|
};
|
||||||
|
opp-1008000000 {
|
||||||
|
opp-hz = /bits/ 64 <1008000000>;
|
||||||
|
opp-microvolt = <1175000>;
|
||||||
|
};
|
||||||
|
opp-1200000000 {
|
||||||
|
opp-hz = /bits/ 64 <1200000000>;
|
||||||
|
opp-microvolt = <1275000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -182,8 +210,61 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
grf: syscon@11000000 {
|
grf: syscon@11000000 {
|
||||||
compatible = "syscon";
|
compatible = "syscon", "simple-mfd";
|
||||||
reg = <0x11000000 0x1000>;
|
reg = <0x11000000 0x1000>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
u2phy0: usb2-phy@760 {
|
||||||
|
compatible = "rockchip,rk3228-usb2phy";
|
||||||
|
reg = <0x0760 0x0c>;
|
||||||
|
clocks = <&cru SCLK_OTGPHY0>;
|
||||||
|
clock-names = "phyclk";
|
||||||
|
clock-output-names = "usb480m_phy0";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
u2phy0_otg: otg-port {
|
||||||
|
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "otg-bvalid", "otg-id",
|
||||||
|
"linestate";
|
||||||
|
#phy-cells = <0>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
u2phy0_host: host-port {
|
||||||
|
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "linestate";
|
||||||
|
#phy-cells = <0>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
u2phy1: usb2-phy@800 {
|
||||||
|
compatible = "rockchip,rk3228-usb2phy";
|
||||||
|
reg = <0x0800 0x0c>;
|
||||||
|
clocks = <&cru SCLK_OTGPHY1>;
|
||||||
|
clock-names = "phyclk";
|
||||||
|
clock-output-names = "usb480m_phy1";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
u2phy1_otg: otg-port {
|
||||||
|
interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "linestate";
|
||||||
|
#phy-cells = <0>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
u2phy1_host: host-port {
|
||||||
|
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "linestate";
|
||||||
|
#phy-cells = <0>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: serial@11010000 {
|
uart0: serial@11010000 {
|
||||||
|
@ -280,6 +361,14 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wdt: watchdog@110a0000 {
|
||||||
|
compatible = "snps,dw-wdt";
|
||||||
|
reg = <0x110a0000 0x100>;
|
||||||
|
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cru PCLK_CPU>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
pwm0: pwm@110b0000 {
|
pwm0: pwm@110b0000 {
|
||||||
compatible = "rockchip,rk3288-pwm";
|
compatible = "rockchip,rk3288-pwm";
|
||||||
reg = <0x110b0000 0x10>;
|
reg = <0x110b0000 0x10>;
|
||||||
|
@ -338,8 +427,18 @@
|
||||||
rockchip,grf = <&grf>;
|
rockchip,grf = <&grf>;
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
#reset-cells = <1>;
|
#reset-cells = <1>;
|
||||||
assigned-clocks = <&cru PLL_GPLL>;
|
assigned-clocks =
|
||||||
assigned-clock-rates = <594000000>;
|
<&cru PLL_GPLL>, <&cru ARMCLK>,
|
||||||
|
<&cru PLL_CPLL>, <&cru ACLK_PERI>,
|
||||||
|
<&cru HCLK_PERI>, <&cru PCLK_PERI>,
|
||||||
|
<&cru ACLK_CPU>, <&cru HCLK_CPU>,
|
||||||
|
<&cru PCLK_CPU>;
|
||||||
|
assigned-clock-rates =
|
||||||
|
<594000000>, <816000000>,
|
||||||
|
<500000000>, <150000000>,
|
||||||
|
<150000000>, <75000000>,
|
||||||
|
<150000000>, <150000000>,
|
||||||
|
<75000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
thermal-zones {
|
thermal-zones {
|
||||||
|
@ -388,6 +487,8 @@
|
||||||
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
|
clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
|
||||||
clock-names = "tsadc", "apb_pclk";
|
clock-names = "tsadc", "apb_pclk";
|
||||||
|
assigned-clocks = <&cru SCLK_TSADC>;
|
||||||
|
assigned-clock-rates = <32768>;
|
||||||
resets = <&cru SRST_TSADC>;
|
resets = <&cru SRST_TSADC>;
|
||||||
reset-names = "tsadc-apb";
|
reset-names = "tsadc-apb";
|
||||||
pinctrl-names = "init", "default", "sleep";
|
pinctrl-names = "init", "default", "sleep";
|
||||||
|
@ -419,6 +520,89 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
usb_otg: usb@30040000 {
|
||||||
|
compatible = "rockchip,rk3228-usb", "rockchip,rk3066-usb",
|
||||||
|
"snps,dwc2";
|
||||||
|
reg = <0x30040000 0x40000>;
|
||||||
|
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cru HCLK_OTG>;
|
||||||
|
clock-names = "otg";
|
||||||
|
dr_mode = "otg";
|
||||||
|
g-np-tx-fifo-size = <16>;
|
||||||
|
g-rx-fifo-size = <280>;
|
||||||
|
g-tx-fifo-size = <256 128 128 64 32 16>;
|
||||||
|
g-use-dma;
|
||||||
|
phys = <&u2phy0_otg>;
|
||||||
|
phy-names = "usb2-phy";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_host0_ehci: usb@30080000 {
|
||||||
|
compatible = "generic-ehci";
|
||||||
|
reg = <0x30080000 0x20000>;
|
||||||
|
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cru HCLK_HOST0>, <&u2phy0>;
|
||||||
|
clock-names = "usbhost", "utmi";
|
||||||
|
phys = <&u2phy0_host>;
|
||||||
|
phy-names = "usb";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_host0_ohci: usb@300a0000 {
|
||||||
|
compatible = "generic-ohci";
|
||||||
|
reg = <0x300a0000 0x20000>;
|
||||||
|
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cru HCLK_HOST0>, <&u2phy0>;
|
||||||
|
clock-names = "usbhost", "utmi";
|
||||||
|
phys = <&u2phy0_host>;
|
||||||
|
phy-names = "usb";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_host1_ehci: usb@300c0000 {
|
||||||
|
compatible = "generic-ehci";
|
||||||
|
reg = <0x300c0000 0x20000>;
|
||||||
|
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cru HCLK_HOST1>, <&u2phy1>;
|
||||||
|
clock-names = "usbhost", "utmi";
|
||||||
|
phys = <&u2phy1_otg>;
|
||||||
|
phy-names = "usb";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_host1_ohci: usb@300e0000 {
|
||||||
|
compatible = "generic-ohci";
|
||||||
|
reg = <0x300e0000 0x20000>;
|
||||||
|
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cru HCLK_HOST1>, <&u2phy1>;
|
||||||
|
clock-names = "usbhost", "utmi";
|
||||||
|
phys = <&u2phy1_otg>;
|
||||||
|
phy-names = "usb";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_host2_ehci: usb@30100000 {
|
||||||
|
compatible = "generic-ehci";
|
||||||
|
reg = <0x30100000 0x20000>;
|
||||||
|
interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cru HCLK_HOST2>, <&u2phy1>;
|
||||||
|
phys = <&u2phy1_host>;
|
||||||
|
phy-names = "usb";
|
||||||
|
clock-names = "usbhost", "utmi";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
usb_host2_ohci: usb@30120000 {
|
||||||
|
compatible = "generic-ohci";
|
||||||
|
reg = <0x30120000 0x20000>;
|
||||||
|
interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&cru HCLK_HOST2>, <&u2phy1>;
|
||||||
|
clock-names = "usbhost", "utmi";
|
||||||
|
phys = <&u2phy1_host>;
|
||||||
|
phy-names = "usb";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
gmac: ethernet@30200000 {
|
gmac: ethernet@30200000 {
|
||||||
compatible = "rockchip,rk3228-gmac";
|
compatible = "rockchip,rk3228-gmac";
|
||||||
reg = <0x30200000 0x10000>;
|
reg = <0x30200000 0x10000>;
|
||||||
|
@ -621,9 +805,9 @@
|
||||||
<0 12 RK_FUNC_1 &pcfg_pull_none>,
|
<0 12 RK_FUNC_1 &pcfg_pull_none>,
|
||||||
<0 13 RK_FUNC_1 &pcfg_pull_none>,
|
<0 13 RK_FUNC_1 &pcfg_pull_none>,
|
||||||
<0 14 RK_FUNC_1 &pcfg_pull_none>,
|
<0 14 RK_FUNC_1 &pcfg_pull_none>,
|
||||||
<1 2 RK_FUNC_1 &pcfg_pull_none>,
|
<1 2 RK_FUNC_2 &pcfg_pull_none>,
|
||||||
<1 4 RK_FUNC_1 &pcfg_pull_none>,
|
<1 4 RK_FUNC_2 &pcfg_pull_none>,
|
||||||
<1 5 RK_FUNC_1 &pcfg_pull_none>;
|
<1 5 RK_FUNC_2 &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -693,10 +877,15 @@
|
||||||
|
|
||||||
uart2 {
|
uart2 {
|
||||||
uart2_xfer: uart2-xfer {
|
uart2_xfer: uart2-xfer {
|
||||||
rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_none>,
|
rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>,
|
||||||
<1 19 RK_FUNC_2 &pcfg_pull_none>;
|
<1 19 RK_FUNC_2 &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
uart21_xfer: uart21-xfer {
|
||||||
|
rockchip,pins = <1 10 RK_FUNC_2 &pcfg_pull_up>,
|
||||||
|
<1 9 RK_FUNC_2 &pcfg_pull_none>;
|
||||||
|
};
|
||||||
|
|
||||||
uart2_cts: uart2-cts {
|
uart2_cts: uart2-cts {
|
||||||
rockchip,pins = <0 25 RK_FUNC_1 &pcfg_pull_none>;
|
rockchip,pins = <0 25 RK_FUNC_1 &pcfg_pull_none>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -48,6 +48,19 @@
|
||||||
model = "Firefly-RK3288-reload";
|
model = "Firefly-RK3288-reload";
|
||||||
compatible = "firefly,firefly-rk3288-reload", "rockchip,rk3288";
|
compatible = "firefly,firefly-rk3288-reload", "rockchip,rk3288";
|
||||||
|
|
||||||
|
adc-keys {
|
||||||
|
compatible = "adc-keys";
|
||||||
|
io-channels = <&saradc 1>;
|
||||||
|
io-channel-names = "buttons";
|
||||||
|
keyup-threshold-microvolt = <1800000>;
|
||||||
|
|
||||||
|
button-recovery {
|
||||||
|
label = "Recovery";
|
||||||
|
linux,code = <KEY_VENDOR>;
|
||||||
|
press-threshold-microvolt = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gpio-keys {
|
gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
|
@ -246,6 +259,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&saradc {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&sdmmc {
|
&sdmmc {
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cap-mmc-highspeed;
|
cap-mmc-highspeed;
|
||||||
|
|
|
@ -49,6 +49,19 @@
|
||||||
reg = <0 0x80000000>;
|
reg = <0 0x80000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
adc-keys {
|
||||||
|
compatible = "adc-keys";
|
||||||
|
io-channels = <&saradc 1>;
|
||||||
|
io-channel-names = "buttons";
|
||||||
|
keyup-threshold-microvolt = <1800000>;
|
||||||
|
|
||||||
|
button-recovery {
|
||||||
|
label = "Recovery";
|
||||||
|
linux,code = <KEY_VENDOR>;
|
||||||
|
press-threshold-microvolt = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
dovdd_1v8: dovdd-1v8-regulator {
|
dovdd_1v8: dovdd-1v8-regulator {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "dovdd_1v8";
|
regulator-name = "dovdd_1v8";
|
||||||
|
@ -219,6 +232,11 @@
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpu {
|
||||||
|
mali-supply = <&vdd_gpu>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&hdmi {
|
&hdmi {
|
||||||
ddc-i2c-bus = <&i2c5>;
|
ddc-i2c-bus = <&i2c5>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
|
@ -113,6 +113,11 @@
|
||||||
tx_delay = <0x30>;
|
tx_delay = <0x30>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpu {
|
||||||
|
mali-supply = <&vdd_gpu>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -125,10 +125,6 @@
|
||||||
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&host_vbus_drv>;
|
pinctrl-0 = <&host_vbus_drv>;
|
||||||
/* Always on as the rockchip usb phy doesn't have a vbus-supply
|
|
||||||
* property
|
|
||||||
*/
|
|
||||||
regulator-always-on;
|
|
||||||
regulator-name = "vcc_host";
|
regulator-name = "vcc_host";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -279,6 +275,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&usbphy1 {
|
||||||
|
vbus-supply = <&vcc_usb_host>;
|
||||||
|
};
|
||||||
|
|
||||||
&usb_host0_ehci {
|
&usb_host0_ehci {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
|
@ -161,6 +161,11 @@
|
||||||
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
|
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpu {
|
||||||
|
mali-supply = <&vdd_gpu>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&hdmi {
|
&hdmi {
|
||||||
ddc-i2c-bus = <&i2c5>;
|
ddc-i2c-bus = <&i2c5>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
#include <dt-bindings/pinctrl/rockchip.h>
|
#include <dt-bindings/pinctrl/rockchip.h>
|
||||||
#include <dt-bindings/clock/rk3288-cru.h>
|
#include <dt-bindings/clock/rk3288-cru.h>
|
||||||
|
#include <dt-bindings/power/rk3288-power.h>
|
||||||
#include <dt-bindings/thermal/thermal.h>
|
#include <dt-bindings/thermal/thermal.h>
|
||||||
#include <dt-bindings/power/rk3288-power.h>
|
#include <dt-bindings/power/rk3288-power.h>
|
||||||
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
#include <dt-bindings/soc/rockchip,boot-mode.h>
|
||||||
|
@ -1125,6 +1126,48 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpu: mali@ffa30000 {
|
||||||
|
compatible = "rockchip,rk3288-mali", "arm,mali-t760", "arm,mali-midgard";
|
||||||
|
reg = <0xffa30000 0x10000>;
|
||||||
|
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "job", "mmu", "gpu";
|
||||||
|
clocks = <&cru ACLK_GPU>;
|
||||||
|
operating-points-v2 = <&gpu_opp_table>;
|
||||||
|
power-domains = <&power RK3288_PD_GPU>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
gpu_opp_table: gpu-opp-table {
|
||||||
|
compatible = "operating-points-v2";
|
||||||
|
|
||||||
|
opp@100000000 {
|
||||||
|
opp-hz = /bits/ 64 <100000000>;
|
||||||
|
opp-microvolt = <950000>;
|
||||||
|
};
|
||||||
|
opp@200000000 {
|
||||||
|
opp-hz = /bits/ 64 <200000000>;
|
||||||
|
opp-microvolt = <950000>;
|
||||||
|
};
|
||||||
|
opp@300000000 {
|
||||||
|
opp-hz = /bits/ 64 <300000000>;
|
||||||
|
opp-microvolt = <1000000>;
|
||||||
|
};
|
||||||
|
opp@400000000 {
|
||||||
|
opp-hz = /bits/ 64 <400000000>;
|
||||||
|
opp-microvolt = <1100000>;
|
||||||
|
};
|
||||||
|
opp@500000000 {
|
||||||
|
opp-hz = /bits/ 64 <500000000>;
|
||||||
|
opp-microvolt = <1200000>;
|
||||||
|
};
|
||||||
|
opp@600000000 {
|
||||||
|
opp-hz = /bits/ 64 <600000000>;
|
||||||
|
opp-microvolt = <1250000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
qos_gpu_r: qos@ffaa0000 {
|
qos_gpu_r: qos@ffaa0000 {
|
||||||
compatible = "syscon";
|
compatible = "syscon";
|
||||||
reg = <0xffaa0000 0x20>;
|
reg = <0xffaa0000 0x20>;
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "rk1108.dtsi"
|
#include "rv1108.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Rockchip RK1108 Evaluation board";
|
model = "Rockchip RV1108 Evaluation board";
|
||||||
compatible = "rockchip,rk1108-evb", "rockchip,rk1108";
|
compatible = "rockchip,rv1108-evb", "rockchip,rv1108";
|
||||||
|
|
||||||
memory@60000000 {
|
memory@60000000 {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
|
@ -47,7 +47,7 @@
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
compatible = "rockchip,rk1108";
|
compatible = "rockchip,rv1108";
|
||||||
|
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
uart2: serial@10210000 {
|
uart2: serial@10210000 {
|
||||||
compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart";
|
compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
|
||||||
reg = <0x10210000 0x100>;
|
reg = <0x10210000 0x100>;
|
||||||
interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
reg-shift = <2>;
|
reg-shift = <2>;
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
uart1: serial@10220000 {
|
uart1: serial@10220000 {
|
||||||
compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart";
|
compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
|
||||||
reg = <0x10220000 0x100>;
|
reg = <0x10220000 0x100>;
|
||||||
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
reg-shift = <2>;
|
reg-shift = <2>;
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
uart0: serial@10230000 {
|
uart0: serial@10230000 {
|
||||||
compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart";
|
compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
|
||||||
reg = <0x10230000 0x100>;
|
reg = <0x10230000 0x100>;
|
||||||
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
reg-shift = <2>;
|
reg-shift = <2>;
|
||||||
|
@ -155,17 +155,17 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
grf: syscon@10300000 {
|
grf: syscon@10300000 {
|
||||||
compatible = "rockchip,rk1108-grf", "syscon";
|
compatible = "rockchip,rv1108-grf", "syscon";
|
||||||
reg = <0x10300000 0x1000>;
|
reg = <0x10300000 0x1000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pmugrf: syscon@20060000 {
|
pmugrf: syscon@20060000 {
|
||||||
compatible = "rockchip,rk1108-pmugrf", "syscon";
|
compatible = "rockchip,rv1108-pmugrf", "syscon";
|
||||||
reg = <0x20060000 0x1000>;
|
reg = <0x20060000 0x1000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cru: clock-controller@20200000 {
|
cru: clock-controller@20200000 {
|
||||||
compatible = "rockchip,rk1108-cru";
|
compatible = "rockchip,rv1108-cru";
|
||||||
reg = <0x20200000 0x1000>;
|
reg = <0x20200000 0x1000>;
|
||||||
rockchip,grf = <&grf>;
|
rockchip,grf = <&grf>;
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
emmc: dwmmc@30110000 {
|
emmc: dwmmc@30110000 {
|
||||||
compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc";
|
compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc";
|
||||||
clock-freq-min-max = <400000 150000000>;
|
clock-freq-min-max = <400000 150000000>;
|
||||||
clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
|
clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
|
||||||
<&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
|
<&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
|
||||||
|
@ -185,7 +185,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
sdio: dwmmc@30120000 {
|
sdio: dwmmc@30120000 {
|
||||||
compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc";
|
compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc";
|
||||||
clock-freq-min-max = <400000 150000000>;
|
clock-freq-min-max = <400000 150000000>;
|
||||||
clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
|
clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
|
||||||
<&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
|
<&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
|
||||||
|
@ -197,7 +197,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
sdmmc: dwmmc@30130000 {
|
sdmmc: dwmmc@30130000 {
|
||||||
compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc";
|
compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc";
|
||||||
clock-freq-min-max = <400000 100000000>;
|
clock-freq-min-max = <400000 100000000>;
|
||||||
clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
|
clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
|
||||||
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
|
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
|
|
@ -61,6 +61,17 @@
|
||||||
#define SCLK_MAC_TX 130
|
#define SCLK_MAC_TX 130
|
||||||
#define SCLK_MAC_PHY 131
|
#define SCLK_MAC_PHY 131
|
||||||
#define SCLK_MAC_OUT 132
|
#define SCLK_MAC_OUT 132
|
||||||
|
#define SCLK_VDEC_CABAC 133
|
||||||
|
#define SCLK_VDEC_CORE 134
|
||||||
|
#define SCLK_RGA 135
|
||||||
|
#define SCLK_HDCP 136
|
||||||
|
#define SCLK_HDMI_CEC 137
|
||||||
|
#define SCLK_CRYPTO 138
|
||||||
|
#define SCLK_TSP 139
|
||||||
|
#define SCLK_HSADC 140
|
||||||
|
#define SCLK_WIFI 141
|
||||||
|
#define SCLK_OTGPHY0 142
|
||||||
|
#define SCLK_OTGPHY1 143
|
||||||
|
|
||||||
/* dclk gates */
|
/* dclk gates */
|
||||||
#define DCLK_VOP 190
|
#define DCLK_VOP 190
|
||||||
|
@ -68,15 +79,32 @@
|
||||||
|
|
||||||
/* aclk gates */
|
/* aclk gates */
|
||||||
#define ACLK_DMAC 194
|
#define ACLK_DMAC 194
|
||||||
|
#define ACLK_CPU 195
|
||||||
|
#define ACLK_VPU_PRE 196
|
||||||
|
#define ACLK_RKVDEC_PRE 197
|
||||||
|
#define ACLK_RGA_PRE 198
|
||||||
|
#define ACLK_IEP_PRE 199
|
||||||
|
#define ACLK_HDCP_PRE 200
|
||||||
|
#define ACLK_VOP_PRE 201
|
||||||
|
#define ACLK_VPU 202
|
||||||
|
#define ACLK_RKVDEC 203
|
||||||
|
#define ACLK_IEP 204
|
||||||
|
#define ACLK_RGA 205
|
||||||
|
#define ACLK_HDCP 206
|
||||||
#define ACLK_PERI 210
|
#define ACLK_PERI 210
|
||||||
#define ACLK_VOP 211
|
#define ACLK_VOP 211
|
||||||
#define ACLK_GMAC 212
|
#define ACLK_GMAC 212
|
||||||
|
#define ACLK_GPU 213
|
||||||
|
|
||||||
/* pclk gates */
|
/* pclk gates */
|
||||||
#define PCLK_GPIO0 320
|
#define PCLK_GPIO0 320
|
||||||
#define PCLK_GPIO1 321
|
#define PCLK_GPIO1 321
|
||||||
#define PCLK_GPIO2 322
|
#define PCLK_GPIO2 322
|
||||||
#define PCLK_GPIO3 323
|
#define PCLK_GPIO3 323
|
||||||
|
#define PCLK_VIO_H2P 324
|
||||||
|
#define PCLK_HDCP 325
|
||||||
|
#define PCLK_EFUSE_1024 326
|
||||||
|
#define PCLK_EFUSE_256 327
|
||||||
#define PCLK_GRF 329
|
#define PCLK_GRF 329
|
||||||
#define PCLK_I2C0 332
|
#define PCLK_I2C0 332
|
||||||
#define PCLK_I2C1 333
|
#define PCLK_I2C1 333
|
||||||
|
@ -89,6 +117,7 @@
|
||||||
#define PCLK_TSADC 344
|
#define PCLK_TSADC 344
|
||||||
#define PCLK_PWM 350
|
#define PCLK_PWM 350
|
||||||
#define PCLK_TIMER 353
|
#define PCLK_TIMER 353
|
||||||
|
#define PCLK_CPU 354
|
||||||
#define PCLK_PERI 363
|
#define PCLK_PERI 363
|
||||||
#define PCLK_HDMI_CTRL 364
|
#define PCLK_HDMI_CTRL 364
|
||||||
#define PCLK_HDMI_PHY 365
|
#define PCLK_HDMI_PHY 365
|
||||||
|
@ -104,6 +133,24 @@
|
||||||
#define HCLK_SDMMC 456
|
#define HCLK_SDMMC 456
|
||||||
#define HCLK_SDIO 457
|
#define HCLK_SDIO 457
|
||||||
#define HCLK_EMMC 459
|
#define HCLK_EMMC 459
|
||||||
|
#define HCLK_CPU 460
|
||||||
|
#define HCLK_VPU_PRE 461
|
||||||
|
#define HCLK_RKVDEC_PRE 462
|
||||||
|
#define HCLK_VIO_PRE 463
|
||||||
|
#define HCLK_VPU 464
|
||||||
|
#define HCLK_RKVDEC 465
|
||||||
|
#define HCLK_VIO 466
|
||||||
|
#define HCLK_RGA 467
|
||||||
|
#define HCLK_IEP 468
|
||||||
|
#define HCLK_VIO_H2P 469
|
||||||
|
#define HCLK_HDCP_MMU 470
|
||||||
|
#define HCLK_HOST0 471
|
||||||
|
#define HCLK_HOST1 472
|
||||||
|
#define HCLK_HOST2 473
|
||||||
|
#define HCLK_OTG 474
|
||||||
|
#define HCLK_TSP 475
|
||||||
|
#define HCLK_M_CRYPTO 476
|
||||||
|
#define HCLK_S_CRYPTO 477
|
||||||
#define HCLK_PERI 478
|
#define HCLK_PERI 478
|
||||||
|
|
||||||
#define CLK_NR_CLKS (HCLK_PERI + 1)
|
#define CLK_NR_CLKS (HCLK_PERI + 1)
|
||||||
|
|
|
@ -132,6 +132,8 @@
|
||||||
#define SCLK_RMII_SRC 166
|
#define SCLK_RMII_SRC 166
|
||||||
#define SCLK_PCIEPHY_REF100M 167
|
#define SCLK_PCIEPHY_REF100M 167
|
||||||
#define SCLK_DDRC 168
|
#define SCLK_DDRC 168
|
||||||
|
#define SCLK_TESTCLKOUT1 169
|
||||||
|
#define SCLK_TESTCLKOUT2 170
|
||||||
|
|
||||||
#define DCLK_VOP0 180
|
#define DCLK_VOP0 180
|
||||||
#define DCLK_VOP1 181
|
#define DCLK_VOP1 181
|
||||||
|
|
Loading…
Add table
Reference in a new issue