[U-Boot] [PATCH v2 5/5] malta: Use device model & tree for UART

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Tue May 17 12:57:52 CEST 2016


2016-05-17 8:40 GMT+02:00 Paul Burton <paul.burton at imgtec.com>:
> On Mon, May 16, 2016 at 08:56:32PM +0200, Daniel Schwierzeck wrote:
>> > diff --git a/arch/mips/dts/mti,malta.dts b/arch/mips/dts/mti,malta.dts
>> > new file mode 100644
>> > index 0000000..1dba606
>> > --- /dev/null
>> > +++ b/arch/mips/dts/mti,malta.dts
>> > @@ -0,0 +1,32 @@
>> > +/dts-v1/;
>> > +
>> > +/memreserve/ 0x00000000 0x00001000;        /* Exception vectors */
>> > +/memreserve/ 0x000f0000 0x00010000;        /* PIIX4 ISA memory */
>> > +
>> > +/ {
>> > +   #address-cells = <1>;
>> > +   #size-cells = <1>;
>> > +   compatible = "mti,malta";
>> > +
>> > +   chosen {
>> > +           stdout-path = &uart0;
>> > +   };
>> > +
>> > +   isa {
>> > +           compatible = "isa";
>> > +           #address-cells = <2>;
>> > +           #size-cells = <1>;
>> > +           ranges = <1 0 0 0x1000>;
>>
>> is following dtc warning fixable?
>>
>> Warning (unit_address_vs_reg): Node /isa has a reg or ranges property, but no unit name
>
> Hi Daniel,
>
> Thanks for reviewing. I'm not seeing this warning with DTC 1.4.1. Which
> version are you using?
>

Currently I'm using DTC mainline. There was a patch [1] by Stephen
Warren applied some time ago which causes those warnings.

[1] https://git.kernel.org/cgit/utils/dtc/dtc.git/commit/?id=c9d9121683b35281239305e15adddfff2b462cf9

-- 
- Daniel


More information about the U-Boot mailing list