aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2020-10-07 18:17:09 +0300
committerEugen Hristev <eugen.hristev@microchip.com>2020-10-19 09:19:53 +0300
commitffd204f3477068a7a0f63a466de0cd2ffdbee89d (patch)
treeeb4fb99992ed4c3574848d734b842ac76c5600e9 /arch
parenta64862284f650d001e15555680ec95d4893cebc1 (diff)
downloadu-boot-ffd204f3477068a7a0f63a466de0cd2ffdbee89d.zip
u-boot-ffd204f3477068a7a0f63a466de0cd2ffdbee89d.tar.gz
u-boot-ffd204f3477068a7a0f63a466de0cd2ffdbee89d.tar.bz2
ARM: dts: sam9x60ek: add clock frequencies to board file
Slow Xtal and Main Xtal are board specific. Add their proper frequency to board file. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/sam9x60.dtsi2
-rw-r--r--arch/arm/dts/sam9x60ek.dts10
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index 41ac1f1..51de586 100644
--- a/arch/arm/dts/sam9x60.dtsi
+++ b/arch/arm/dts/sam9x60.dtsi
@@ -30,13 +30,11 @@
slow_xtal: slow_xtal {
compatible = "fixed-clock";
#clock-cells = <0>;
- clock-frequency = <0>;
};
main_xtal: main_xtal {
compatible = "fixed-clock";
#clock-cells = <0>;
- clock-frequency = <0>;
};
};
diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts
index 8767de9..44af5d9 100644
--- a/arch/arm/dts/sam9x60ek.dts
+++ b/arch/arm/dts/sam9x60ek.dts
@@ -18,6 +18,16 @@
i2c0 = &flx0;
};
+ clocks {
+ slow_xtal: slow_xtal {
+ clock-frequency = <32768>;
+ };
+
+ main_xtal: main_xtal {
+ clock-frequency = <24000000>;
+ };
+ };
+
onewire_tm: onewire {
gpios = <&pioD 14 0>;
pinctrl-names = "default";