Bug when output is dts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



This commit introduces a bug when we output dts format:

commit 8c59a97ce096ab1e25fa828cbff371b3953e990c (HEAD)
Author: Grant Likely <grant.likely@xxxxxxx>
Date:   Fri Sep 14 14:01:09 2018 +0100

    Fix missing labels when emitting dts format


——

/dts-v1/;
/ {
 #address-cells = <1>;
 #size-cells = <1>;
 aliases { };
};
/ {
 soc {
  #address-cells = <1>;
  #size-cells = <1>;
  compatible = "simple-bus";
  ranges;
 };
};
/ {
 soc {
  gpio1: gpio@401b8000 {
   compatible = "nxp,imx-gpio";
   reg = <0x401b8000 0x4000>;
   label = "GPIO_1";
   gpio-controller;
   #gpio-cells = <2>;
  };
 };
};
/ {
 model = "NXP MIMXRT1060-EVK board";
 compatible = "nxp,mimxrt1062";
 aliases {
  gpio-1= &gpio1;
 };
};


~/git/dtc/dtc -Idts -Odts zephyr/mimxrt1060_evk.dts.pre.tmp 

We get:

…
	aliases {
		gpio-1 = """/soc/gpio@401b8000";
	};


…





[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux