Commit 15e26f69 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Dinh Nguyen

arm64: dts: intel: socfpga: override clocks by label

Using full paths to extend or override a device tree node is error
prone.  If there was a typo error, a new node will be created instead of
extending the existing node.  This will lead to run-time errors that
could be hard to detect.

A mistyped label on the other hand, will cause a dtc compile error
(during build time).
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent fe07bfda
...@@ -41,14 +41,6 @@ memory { ...@@ -41,14 +41,6 @@ memory {
/* We expect the bootloader to fill in the reg */ /* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>; reg = <0 0 0 0>;
}; };
soc {
clocks {
osc1 {
clock-frequency = <25000000>;
};
};
};
}; };
&gpio1 { &gpio1 {
...@@ -92,6 +84,10 @@ &mmc { ...@@ -92,6 +84,10 @@ &mmc {
bus-width = <4>; bus-width = <4>;
}; };
&osc1 {
clock-frequency = <25000000>;
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
}; };
......
...@@ -41,14 +41,6 @@ memory { ...@@ -41,14 +41,6 @@ memory {
/* We expect the bootloader to fill in the reg */ /* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>; reg = <0 0 0 0>;
}; };
soc {
clocks {
osc1 {
clock-frequency = <25000000>;
};
};
};
}; };
&gpio1 { &gpio1 {
...@@ -121,6 +113,10 @@ partition@4280000 { ...@@ -121,6 +113,10 @@ partition@4280000 {
}; };
}; };
&osc1 {
clock-frequency = <25000000>;
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
}; };
......
...@@ -23,14 +23,6 @@ memory { ...@@ -23,14 +23,6 @@ memory {
/* We expect the bootloader to fill in the reg */ /* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>; reg = <0 0 0 0>;
}; };
soc {
clocks {
osc1 {
clock-frequency = <25000000>;
};
};
};
}; };
&clkmgr { &clkmgr {
...@@ -44,6 +36,10 @@ &mmc { ...@@ -44,6 +36,10 @@ &mmc {
bus-width = <4>; bus-width = <4>;
}; };
&osc1 {
clock-frequency = <25000000>;
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
}; };
......
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