[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>;
};
...
...

相关文章:

  • 2022-12-23
  • 2021-06-10
  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案