ARM: dts: imx6sl: Add a label for the cpu node
authorFabio Estevam <festevam@gmail.com>
Fri, 22 Apr 2022 19:55:37 +0000 (16:55 -0300)
committerShawn Guo <shawnguo@kernel.org>
Thu, 5 May 2022 02:33:05 +0000 (10:33 +0800)
Add a label for the cpu node, so that board devicetree files can
reference to the CPU node.

This is useful for describing a PMIC voltage that supplies the CPU
voltage.

For example:

&cpu0 {
cpu-supply = <&sw1_reg>;

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sl.dtsi

index c7d907c5c352c49a666b711b6cadfa928a390f30..06a515121dfc57ee5127cd874c60f3a150c44c99 100644 (file)
@@ -50,7 +50,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <0x0>;