Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add DTS for Gumstix TobiDuo expansion board

The Gumstix "Tobi-Duo" expansion board [1] can be used with either
OMAP3 Overo or Overo Storm COMs. It provides two NICs using LAN9221
chips.
It is necessary to duplicate the interface information for the
second SMSC9221 chip as discussed [2].

[1] https://store.gumstix.com/index.php/products/241/
[2] http://www.spinics.net/lists/linux-omap/msg115282.html

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Ash Charles and committed by
Tony Lindgren
72f5d5d5 34c900a6

+109
+2
arch/arm/boot/dts/Makefile
··· 416 416 omap3-overo-storm-palo43.dtb \ 417 417 omap3-overo-storm-summit.dtb \ 418 418 omap3-overo-storm-tobi.dtb \ 419 + omap3-overo-storm-tobiduo.dtb \ 419 420 omap3-overo-summit.dtb \ 420 421 omap3-overo-tobi.dtb \ 422 + omap3-overo-tobiduo.dtb \ 421 423 omap3-pandora-600mhz.dtb \ 422 424 omap3-pandora-1ghz.dtb \ 423 425 omap3-sbc-t3517.dtb \
+21
arch/arm/boot/dts/omap3-overo-storm-tobiduo.dts
··· 1 + /* 2 + * Copyright (C) 2015 Ash Charles, Gumstix, Inc. 3 + * 4 + * This program is free software; you can redistribute it and/or modify 5 + * it under the terms of the GNU General Public License version 2 as 6 + * published by the Free Software Foundation. 7 + */ 8 + 9 + /* 10 + * TobiDuo expansion board is manufactured by Gumstix Inc. 11 + */ 12 + 13 + /dts-v1/; 14 + 15 + #include "omap3-overo-storm.dtsi" 16 + #include "omap3-overo-tobiduo-common.dtsi" 17 + 18 + / { 19 + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on TobiDuo"; 20 + compatible = "gumstix,omap3-overo-tobiduo", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3"; 21 + };
+65
arch/arm/boot/dts/omap3-overo-tobiduo-common.dtsi
··· 1 + /* 2 + * Copyright (C) 2015 Ash Charles, Gumstix, Inc. 3 + * 4 + * This program is free software; you can redistribute it and/or modify 5 + * it under the terms of the GNU General Public License version 2 as 6 + * published by the Free Software Foundation. 7 + */ 8 + 9 + /* 10 + * TobiDuo expansion board is manufactured by Gumstix Inc. 11 + */ 12 + 13 + #include "omap3-overo-common-peripherals.dtsi" 14 + 15 + #include "omap-gpmc-smsc9221.dtsi" 16 + 17 + &gpmc { 18 + ranges = <4 0 0x2b000000 0x1000000>, /* CS4 */ 19 + <5 0 0x2c000000 0x1000000>; /* CS5 */ 20 + 21 + smsc1: ethernet@gpmc { 22 + reg = <5 0 0xff>; 23 + interrupt-parent = <&gpio6>; 24 + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */ 25 + }; 26 + 27 + smsc2: ethernet@4,0 { 28 + compatible = "smsc,lan9221","smsc,lan9115"; 29 + bank-width = <2>; 30 + 31 + gpmc,mux-add-data; 32 + gpmc,cs-on-ns = <0>; 33 + gpmc,cs-rd-off-ns = <42>; 34 + gpmc,cs-wr-off-ns = <36>; 35 + gpmc,adv-on-ns = <6>; 36 + gpmc,adv-rd-off-ns = <12>; 37 + gpmc,adv-wr-off-ns = <12>; 38 + gpmc,oe-on-ns = <0>; 39 + gpmc,oe-off-ns = <42>; 40 + gpmc,we-on-ns = <0>; 41 + gpmc,we-off-ns = <36>; 42 + gpmc,rd-cycle-ns = <60>; 43 + gpmc,wr-cycle-ns = <54>; 44 + gpmc,access-ns = <36>; 45 + gpmc,page-burst-access-ns = <0>; 46 + gpmc,bus-turnaround-ns = <0>; 47 + gpmc,cycle2cycle-delay-ns = <0>; 48 + gpmc,wr-data-mux-bus-ns = <18>; 49 + gpmc,wr-access-ns = <42>; 50 + gpmc,cycle2cycle-samecsen; 51 + gpmc,cycle2cycle-diffcsen; 52 + vddvario-supply = <&vddvario>; 53 + vdd33a-supply = <&vdd33a>; 54 + reg-io-width = <4>; 55 + smsc,save-mac-address; 56 + 57 + reg = <4 0 0xff>; 58 + interrupt-parent = <&gpio3>; 59 + interrupts = <1 IRQ_TYPE_LEVEL_LOW>; /* GPIO 65 */ 60 + }; 61 + }; 62 + 63 + &lis33de { 64 + status = "disabled"; 65 + };
+21
arch/arm/boot/dts/omap3-overo-tobiduo.dts
··· 1 + /* 2 + * Copyright (C) 2015 Ash Charles, Gumstix, Inc. 3 + * 4 + * This program is free software; you can redistribute it and/or modify 5 + * it under the terms of the GNU General Public License version 2 as 6 + * published by the Free Software Foundation. 7 + */ 8 + 9 + /* 10 + * TobiDuo expansion board is manufactured by Gumstix Inc. 11 + */ 12 + 13 + /dts-v1/; 14 + 15 + #include "omap3-overo.dtsi" 16 + #include "omap3-overo-tobiduo-common.dtsi" 17 + 18 + / { 19 + model = "OMAP35xx Gumstix Overo on TobiDuo"; 20 + compatible = "gumstix,omap3-overo-tobiduo", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; 21 + };