Hi,

I found out how to make UART4 work:

> &uart4 {
>       status = "okay";
> };
> 

&uart4 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart4_pins_a>;
        status = "okay";
};

This is for the UEXT UART on GPIO-1 and it works fine with that.

However, since the UEXT is pluggable and not enabled by default I'm
currently trying to create a device tree overlay for it and for the
devices that I connect to it. Is that the right way?

> Also, I tried to use dtc to create an external dtb file to avoid
> having to modify the kernel's arch/arm/boot . That gave
> me a syntax error on the plugin line (see below). Searching the
> internet gave me some posts where they said that only very new dtc
> supports "plugins". I have Debian 8.1's dtc.

There's a dtc in the Linux sources under scripts/dtc/dtc .

I tried to specify "-@" in order for dtc to allow unresolved symbols.
Neither the scripts/dtc nor the device-tree-compiler of Debian 8.2 know
that option.

Is there some current documentation on how to do all that?

I saw https://linux-sunxi.org/Device_Tree but it doesn't mention
overlays at all. 

Thanks,
   Danny

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to