rmii_clkin: rmii_clkin {
compatible = "rockchip,rk-fixed-clock";
clock-output-names = "rmii_clkin";
- clock-frequency = <0>;
+ clock-frequency = <50000000>;
#clock-cells = <0>;
};
#clock-cells = <0>;
};
+ io_mac_mdclkout: io_mac_mdclkout {
+ compatible = "rockchip,rk-fixed-factor-clock";
+ clocks = <&aclk_peri_pre>;
+ clock-output-names = "io_mac_mdclkout";
+ clock-div = <2>;
+ clock-mult = <1>;
+ #clock-cells = <0>;
+ };
};
clock_regs {
#address-cells = <1>;
#size-cells = <1>;
- clk_gpu_pre_div: clk_gpu_pre_div {
+ clk_gpu_div: clk_gpu_div {
compatible = "rockchip,rk3188-div-con";
rockchip,bits = <0 5>;
- clocks = <&clk_gpu_pre>;
- clock-output-names = "clk_gpu_pre";
+ clocks = <&clk_gpu>;
+ clock-output-names = "clk_gpu";
rockchip,div-type = <CLK_DIVIDER_PLUS_ONE>;
#clock-cells = <0>;
rockchip,clkops-idx =
/* reg[7:5]: reserved */
- clk_gpu_pre: clk_gpu_pre_mux {
+ clk_gpu: clk_gpu_mux {
compatible = "rockchip,rk3188-mux-con";
rockchip,bits = <8 2>;
clocks = <&dummy>, <&dummy>, <&clk_gpll>;
- clock-output-names = "clk_gpu_pre";
+ clock-output-names = "clk_gpu";
#clock-cells = <0>;
#clock-init-cells = <1>;
};
"clk_cryto", "clk_i2s_out",
"clk_i2s", "clk_testout";
- rockchip,suspend-clkgating-setting=<0x0 0x0>;
+ rockchip,suspend-clkgating-setting=<0x19ff 0x19ff>;
#clock-cells = <1>;
};
"clk_uart2_div", "uart2_frac",
"reserved", "reserved";
- rockchip,suspend-clkgating-setting=<0x0 0x0>;
+ rockchip,suspend-clkgating-setting=<0xc0af 0xc0af>;
#clock-cells = <1>;
};
"spdif_frac", "clk_sdio",
"clk_emmc", "reserved";
- rockchip,suspend-clkgating-setting=<0x0 0x0>;
+ rockchip,suspend-clkgating-setting=<0x81bf 0x81bf>;
#clock-cells = <1>;
};
<&pclk_cpu_pre>, <&dummy>,
<&dummy>, <&aclk_vcodec_pre>,
- <&aclk_vcodec_pre>, <&clk_gpu_pre>,
+ <&aclk_vcodec_pre>, <&clk_gpu>,
<&hclk_peri_pre>, <&dummy>;
clock-output-names =
"g_pclk_hdmi", "reserved",
"reserved", "aclk_vcodec_pre",
- "hclk_vcodec", "clk_gpu_pre",
+ "hclk_vcodec", "clk_gpu",
"g_hclk_sfc", "reserved";
- rockchip,suspend-clkgating-setting=<0x0000 0x0000>;
+ rockchip,suspend-clkgating-setting=<0xa7fb 0xa7fb>;
#clock-cells = <1>;
};
"g_hp_axi_matrix", "g_pp_axi_matrix",
"g_aclk_cpu_peri", "g_ap_axi_matrix",
- "reserved", "reserved",
+ "reserved", "g_hclk_mac",
"reserved", "reserved",
"reserved", "reserved",
"g_aclk_intmem", "reserved",
"reserved", "reserved";
- rockchip,suspend-clkgating-setting = <0x0000 0x0000>;
+ rockchip,suspend-clkgating-setting = <0xffff 0xffff>;
#clock-cells = <1>;
};
"reserved", "g_hclk_otg0",
"g_pclk_acodec", "reserved";
- rockchip,suspend-clkgating-setting = <0x0000 0x0000>;
+ rockchip,suspend-clkgating-setting = <0x91fd 0x91fd>;
#clock-cells = <1>;
};
"g_hclk_vio_bus", "g_aclk_vio",
"reserved", "reserved";
- rockchip,suspend-clkgating-setting = <0x0000 0x0000>;
+ rockchip,suspend-clkgating-setting = <0xffff 0xffff>;
#clock-cells = <1>;
};
"g_pclk_spi", "reserved",
"reserved", "g_pclk_wdt";
- rockchip,suspend-clkgating-setting = <0x0000 0x0000>;
+ rockchip,suspend-clkgating-setting = <0x6ff2 0x6ff2>;
#clock-cells = <1>;
};
"reserved", "reserved",
"reserved", "reserved";
- rockchip,suspend-clkgating-setting=<0x0000 0x0000>;
+ rockchip,suspend-clkgating-setting=<0xf38c 0xf38c>;
#clock-cells = <1>;
};
"reserved", "g_hclk_usb_peri",
"g_hclk_pe_arbi", "g_aclk_peri_niu";
- rockchip,suspend-clkgating-setting=<0x0 0x0>;
+ rockchip,suspend-clkgating-setting=<0xdf9f 0xdf9f>;
#clock-cells = <1>;
};
"reserved", "reserved",
"reserved", "reserved";
- rockchip,suspend-clkgating-setting = <0x0 0x0>; /* pwm logic vol */
+ rockchip,suspend-clkgating-setting = <0x0077 0x0077>; /* pwm logic vol */
#clock-cells = <1>;
};