diff options
author | Tony Lindgren <tony@atomide.com> | 2013-12-18 16:13:21 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-12-18 16:13:21 -0500 |
commit | 0f0cfc69547ea3e26f53e50eae2f25fe6ea1a77d (patch) | |
tree | 788e0f90131af80999abb3ccbb50e29bb035cd0c /arch/arm/boot/dts/omap3-cm-t3x30.dtsi | |
parent | adfe9361b236154215d4b0fc8b6d79995394b15c (diff) |
ARM: dts: Add support for sbc-3xxx with cm-t3730
This adds support for CompuLab SBC-T3530, also known as cm-t3730:
http://compulab.co.il/products/sbcs/sbc-t3530/
It seems that with the sbc-3xxx mainboard is also used on
SBC-T3517 and SBC-T3730 with just a different CPU module:
http://compulab.co.il/products/sbcs/sbc-t3517/
http://compulab.co.il/products/sbcs/sbc-t3730/
So let's add a common omap3-sb-t35.dtsi and then separate SoC
specific omap3-sbc-t3730.dts, omap3-sbc-t3530.dts and
omap3-sbc-t3517.dts.
I've tested this with SBC-T3730 as that's the only one I have.
At least serial, both Ethernet controllers, MMC, and wl12xx WLAN
work.
Note that WLAN seems to be different for SBC-T3530. And SBC-T3517
may need some changes for the EMAC Ethernet if that's used
instead of the smsc911x.
Cc: devicetree@vger.kernel.org
Cc: Mike Rapoport <mike@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-cm-t3x30.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi new file mode 100644 index 000000000000..3a9f004d8924 --- /dev/null +++ b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi | |||
@@ -0,0 +1,95 @@ | |||
1 | /* | ||
2 | * Common support for CompuLab CM-T3530 and CM-T3730 | ||
3 | */ | ||
4 | |||
5 | / { | ||
6 | memory { | ||
7 | device_type = "memory"; | ||
8 | reg = <0x80000000 0x10000000>; /* 256 MB */ | ||
9 | }; | ||
10 | |||
11 | cpus { | ||
12 | cpu@0 { | ||
13 | cpu0-supply = <&vcc>; | ||
14 | }; | ||
15 | }; | ||
16 | |||
17 | leds { | ||
18 | compatible = "gpio-leds"; | ||
19 | ledb { | ||
20 | label = "cm-t35:green"; | ||
21 | gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* gpio186 */ | ||
22 | linux,default-trigger = "heartbeat"; | ||
23 | }; | ||
24 | }; | ||
25 | |||
26 | vddvario: regulator-vddvario { | ||
27 | compatible = "regulator-fixed"; | ||
28 | regulator-name = "vddvario"; | ||
29 | regulator-always-on; | ||
30 | }; | ||
31 | |||
32 | vdd33a: regulator-vdd33a { | ||
33 | compatible = "regulator-fixed"; | ||
34 | regulator-name = "vdd33a"; | ||
35 | regulator-always-on; | ||
36 | }; | ||
37 | }; | ||
38 | |||
39 | &gpmc { | ||
40 | ranges = <5 0 0x2c000000 0x01000000>; | ||
41 | |||
42 | smsc1: ethernet@5,0 { | ||
43 | compatible = "smsc,lan9221", "smsc,lan9115"; | ||
44 | interrupt-parent = <&gpio6>; | ||
45 | interrupts = <3 IRQ_TYPE_LEVEL_LOW>; | ||
46 | reg = <5 0 0xff>; | ||
47 | bank-width = <2>; | ||
48 | gpmc,mux-add-data; | ||
49 | gpmc,cs-on-ns = <0>; | ||
50 | gpmc,cs-rd-off-ns = <186>; | ||
51 | gpmc,cs-wr-off-ns = <186>; | ||
52 | gpmc,adv-on-ns = <12>; | ||
53 | gpmc,adv-rd-off-ns = <48>; | ||
54 | gpmc,adv-wr-off-ns = <48>; | ||
55 | gpmc,oe-on-ns = <54>; | ||
56 | gpmc,oe-off-ns = <168>; | ||
57 | gpmc,we-on-ns = <54>; | ||
58 | gpmc,we-off-ns = <168>; | ||
59 | gpmc,rd-cycle-ns = <186>; | ||
60 | gpmc,wr-cycle-ns = <186>; | ||
61 | gpmc,access-ns = <114>; | ||
62 | gpmc,page-burst-access-ns = <6>; | ||
63 | gpmc,bus-turnaround-ns = <12>; | ||
64 | gpmc,cycle2cycle-delay-ns = <18>; | ||
65 | gpmc,wr-data-mux-bus-ns = <90>; | ||
66 | gpmc,wr-access-ns = <186>; | ||
67 | gpmc,cycle2cycle-samecsen; | ||
68 | gpmc,cycle2cycle-diffcsen; | ||
69 | vddvario-supply = <&vddvario>; | ||
70 | vdd33a-supply = <&vdd33a>; | ||
71 | reg-io-width = <4>; | ||
72 | smsc,save-mac-address; | ||
73 | }; | ||
74 | }; | ||
75 | |||
76 | &i2c1 { | ||
77 | clock-frequency = <400000>; | ||
78 | |||
79 | twl: twl@48 { | ||
80 | reg = <0x48>; | ||
81 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ | ||
82 | interrupt-parent = <&intc>; | ||
83 | }; | ||
84 | }; | ||
85 | |||
86 | #include "twl4030.dtsi" | ||
87 | #include "twl4030_omap3.dtsi" | ||
88 | |||
89 | &i2c3 { | ||
90 | clock-frequency = <400000>; | ||
91 | }; | ||
92 | |||
93 | &twl_gpio { | ||
94 | ti,use-leds; | ||
95 | }; | ||