zephyr/scripts/dts/extract
Kumar Gala 0d4290a2cb scripts/dts: Fix issue in label generation of registers
If we have something like:

       #address-cells = <1>;
       #size-cells = <0>;

       intc: ioapic@fec00000  {
	       compatible = "intel,ioapic";
	       reg = <0xfec00000 0x100000>;
       };

We should generate:

DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS_0
DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS_1

Instead we generated:

DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS
DT_INTEL_IOAPIC_FEC00000_BASE_ADDRESS_1

This was due to logic deciding if '_0' should be used not taking into
account #address-cells & #size-cells correctly.

Fixes: #16296

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-05-22 17:27:53 -05:00
..
__init__.py
clocks.py scripts/dts: Remove unused variables and imports 2019-03-28 11:06:01 -05:00
compatible.py scripts/dts: Remove unused variables and imports 2019-03-28 11:06:01 -05:00
default.py scripts/dts: Add support for enum's 2019-05-17 09:53:20 -05:00
directive.py scripts/dts: Remove redundant empty constructors 2019-03-15 11:09:49 -05:00
flash.py scripts/dts: Remove unused variables and imports 2019-03-28 11:06:01 -05:00
globals.py scripts/dts: allow node to be child on one bus and parent on another 2019-05-07 22:33:06 -04:00
interrupts.py scripts/dts: Clean up/fix extract/interrupts.py a bit 2019-03-15 11:09:49 -05:00
pinctrl.py scripts/dts: Remove redundant empty constructors 2019-03-15 11:09:49 -05:00
reg.py scripts/dts: Fix issue in label generation of registers 2019-05-22 17:27:53 -05:00