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: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
Krzysztof Kozlowski 2021-03-08 18:09:37 +01:00 коммит произвёл Dinh Nguyen
Родитель fe07bfda2f
Коммит 15e26f6914
3 изменённых файлов: 12 добавлений и 24 удалений

Просмотреть файл

@ -41,14 +41,6 @@
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
};
soc {
clocks {
osc1 {
clock-frequency = <25000000>;
};
};
};
};
&gpio1 {
@ -92,6 +84,10 @@
bus-width = <4>;
};
&osc1 {
clock-frequency = <25000000>;
};
&uart0 {
status = "okay";
};

Просмотреть файл

@ -41,14 +41,6 @@
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
};
soc {
clocks {
osc1 {
clock-frequency = <25000000>;
};
};
};
};
&gpio1 {
@ -121,6 +113,10 @@
};
};
&osc1 {
clock-frequency = <25000000>;
};
&uart0 {
status = "okay";
};

Просмотреть файл

@ -23,14 +23,6 @@
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
};
soc {
clocks {
osc1 {
clock-frequency = <25000000>;
};
};
};
};
&clkmgr {
@ -44,6 +36,10 @@
bus-width = <4>;
};
&osc1 {
clock-frequency = <25000000>;
};
&uart0 {
status = "okay";
};