On Sun, Mar 16, 2014 at 05:48:17PM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <[email protected]>
> ---
>  arch/arm/dts/dm365.dtsi | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/arch/arm/dts/dm365.dtsi b/arch/arm/dts/dm365.dtsi
> new file mode 100644
> index 0000000..ea69007
> --- /dev/null
> +++ b/arch/arm/dts/dm365.dtsi
> @@ -0,0 +1,28 @@
> +#include "skeleton.dtsi"
> +
> +/ {
> +     soc {
> +             compatible = "simple-bus";
> +             model = "TI TMS320DM365";
> +             #address-cells = <1>;
> +             #size-cells = <1>;
> +             ranges = <0x0 0x01c00000 0x400000>;
> +
> +             serial0: serial@1c20000 {
> +                     compatible = "ns16550a";
> +                     reg = <0x20000 0x400>;
> +                     reg-shift = <2>;
> +                     clock-frequency = <24000000>;
> +                     status = "disabled";
> +             };
> +
> +             gpio: gpio@1c67000 {
> +                     compatible = "ti,dm6441-gpio";
> +                     gpio-controller;
> +                     reg = <0x67000 0x800>;
> +                     #gpio-cells = <2>;
> +                     ti,ngpio = <107>;
> +                     status = "disabled";

The device should be enabled in the dtsi. Virtually every board wants to
use it.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to