mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 01:26:29 +07:00
d60d0cff4a
fin_pll is the parent of clock-controller@7e00f000, specify
the dependency to ensure proper initialization order of clock
providers.
without this patch:
[ 0.000000] S3C6410 clocks: apll = 0, mpll = 0
[ 0.000000] epll = 0, arm_clk = 0
with this patch:
[ 0.000000] S3C6410 clocks: apll = 532000000, mpll = 532000000
[ 0.000000] epll = 24000000, arm_clk = 532000000
Cc: <stable@vger.kernel.org>
Fixes: 3f6d439f20
("clk: reverse default clk provider initialization order in of_clk_init()")
Signed-off-by: Lihua Yao <ylhuajnu@outlook.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
106 lines
2.0 KiB
Plaintext
106 lines
2.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Samsung S3C6410 based SMDK6410 board device tree source.
|
|
*
|
|
* Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
|
|
*
|
|
* Device tree source file for SAMSUNG SMDK6410 board which is based on
|
|
* Samsung's S3C6410 SoC.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
#include "s3c6410.dtsi"
|
|
|
|
/ {
|
|
model = "SAMSUNG SMDK6410 board based on S3C6410";
|
|
compatible = "samsung,mini6410", "samsung,s3c6410";
|
|
|
|
memory@50000000 {
|
|
device_type = "memory";
|
|
reg = <0x50000000 0x8000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttySAC0,115200n8 earlyprintk rootwait root=/dev/mmcblk0p1";
|
|
};
|
|
|
|
clocks {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
fin_pll: oscillator@0 {
|
|
compatible = "fixed-clock";
|
|
reg = <0>;
|
|
clock-frequency = <12000000>;
|
|
clock-output-names = "fin_pll";
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
xusbxti: oscillator@1 {
|
|
compatible = "fixed-clock";
|
|
reg = <1>;
|
|
clock-output-names = "xusbxti";
|
|
clock-frequency = <48000000>;
|
|
#clock-cells = <0>;
|
|
};
|
|
};
|
|
|
|
srom-cs1@18000000 {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0x18000000 0x8000000>;
|
|
ranges;
|
|
|
|
ethernet@18000000 {
|
|
compatible = "smsc,lan9115";
|
|
reg = <0x18000000 0x10000>;
|
|
interrupt-parent = <&gpn>;
|
|
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
|
|
phy-mode = "mii";
|
|
reg-io-width = <4>;
|
|
smsc,force-internal-phy;
|
|
};
|
|
};
|
|
};
|
|
|
|
&clocks {
|
|
clocks = <&fin_pll>;
|
|
};
|
|
|
|
&sdhci0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
|
|
bus-width = <4>;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_data>, <&uart0_fctl>;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1_data>;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart2_data>;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart3_data>;
|
|
status = "okay";
|
|
};
|