Commit | Line | Data |
---|---|---|
0f0cfc69 TL |
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 | }; |