為 device node 取 label name, 可以在其它位置使用 &label 存取 device node。 Ex ./arch/arm/boot/dts/stm32f429.dtsi ./arch/arm/boot/dts/stm32f429 disco.dts ...
[label:] <device node name>[@ unit-address]
為 device node 取 label name,
可以在其它位置使用 &label 存取 device node。
Ex
./arch/arm/boot/dts/stm32f429.dtsi
...
...
/ {
clocks {
clk_hse: clk-hse {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <0>;
};
...
...
./arch/arm/boot/dts/stm32f429-disco.dts
...
...
&clk_hse {
clock-frequency = <8000000>;
};
...
...