提交 e5b9655c 编写于 作者: K Krzysztof Kozlowski

ARM: dts: exynos: override pins by label in Peach Pi

Using node 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: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: NAlim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20220111201722.327219-1-krzysztof.kozlowski@canonical.com
上级 6d73abda
...@@ -850,27 +850,26 @@ ...@@ -850,27 +850,26 @@
}; };
}; };
&pinctrl_1 { /* pinctrl_1 */
/* Adjust WiFi drive strengths lower for EMI */ /* Adjust WiFi drive strengths lower for EMI */
sd1_clk: sd1-clk { &sd1_bus1 {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_cmd: sd1-cmd { &sd1_bus4 {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus1: sd1-bus-width1 { &sd1_bus8 {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus4: sd1-bus-width4 { &sd1_clk {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
sd1_bus8: sd1-bus-width8 { &sd1_cmd {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
};
}; };
&pinctrl_2 { &pinctrl_2 {
...@@ -889,12 +888,13 @@ ...@@ -889,12 +888,13 @@
}; };
}; };
&pinctrl_3 { /* pinctrl_3*/
/* Drive SPI lines at x2 for better integrity */ /* Drive SPI lines at x2 for better integrity */
spi2-bus { &spi2_bus {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
}; };
&pinctrl_3 {
/* Drive SPI chip select at x2 for better integrity */ /* Drive SPI chip select at x2 for better integrity */
ec_spi_cs: ec-spi-cs { ec_spi_cs: ec-spi-cs {
samsung,pins = "gpb1-2"; samsung,pins = "gpb1-2";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册