1/*
2 * Common features on the Zoom debug board
3 */
4
5#include "omap-gpmc-smsc911x.dtsi"
6
7&gpmc {
8	ranges = <3 0 0x10000000 0x1000000>,	/* CS3: 16MB for UART */
9		 <7 0 0x2c000000 0x01000000>;
10
11	/*
12	 * Four port TL16CP754C serial port on GPMC,
13	 * they probably share the same GPIO IRQ
14	 * REVISIT: Add timing support from slls644g.pdf
15	 */
16	uart@3,0 {
17		compatible = "ns16550a";
18		reg = <3 0 8>;	/* CS3, offset 0, IO size 8 */
19		bank-width = <2>;
20		reg-shift = <1>;
21		reg-io-width = <1>;
22		interrupt-parent = <&gpio4>;
23		interrupts = <6 IRQ_TYPE_EDGE_RISING>;	/* gpio102 */
24		clock-frequency = <1843200>;
25		current-speed = <115200>;
26		gpmc,mux-add-data = <0>;
27		gpmc,device-width = <1>;
28		gpmc,wait-pin = <1>;
29		gpmc,cycle2cycle-samecsen = <1>;
30		gpmc,cycle2cycle-diffcsen = <1>;
31		gpmc,cs-on-ns = <5>;
32		gpmc,cs-rd-off-ns = <155>;
33		gpmc,cs-wr-off-ns = <155>;
34		gpmc,adv-on-ns = <15>;
35		gpmc,adv-rd-off-ns = <40>;
36		gpmc,adv-wr-off-ns = <40>;
37		gpmc,oe-on-ns = <45>;
38		gpmc,oe-off-ns = <145>;
39		gpmc,we-on-ns = <45>;
40		gpmc,we-off-ns = <145>;
41		gpmc,rd-cycle-ns = <155>;
42		gpmc,wr-cycle-ns = <155>;
43		gpmc,access-ns = <145>;
44		gpmc,page-burst-access-ns = <20>;
45		gpmc,bus-turnaround-ns = <20>;
46		gpmc,cycle2cycle-delay-ns = <20>;
47		gpmc,wait-monitoring-ns = <0>;
48		gpmc,clk-activation-ns = <0>;
49		gpmc,wr-data-mux-bus-ns = <45>;
50		gpmc,wr-access-ns = <145>;
51	};
52	uart@3,1 {
53		compatible = "ns16550a";
54		reg = <3 0x100 8>;	/* CS3, offset 0x100, IO size 8 */
55		bank-width = <2>;
56		reg-shift = <1>;
57		reg-io-width = <1>;
58		interrupt-parent = <&gpio4>;
59		interrupts = <6 IRQ_TYPE_EDGE_RISING>;	/* gpio102 */
60		clock-frequency = <1843200>;
61		current-speed = <115200>;
62	};
63	uart@3,2 {
64		compatible = "ns16550a";
65		reg = <3 0x200 8>;	/* CS3, offset 0x200, IO size 8 */
66		bank-width = <2>;
67		reg-shift = <1>;
68		reg-io-width = <1>;
69		interrupt-parent = <&gpio4>;
70		interrupts = <6 IRQ_TYPE_EDGE_RISING>;	/* gpio102 */
71		clock-frequency = <1843200>;
72		current-speed = <115200>;
73	};
74	uart@3,3 {
75		compatible = "ns16550a";
76		reg = <3 0x300 8>;	/* CS3, offset 0x300, IO size 8 */
77		bank-width = <2>;
78		reg-shift = <1>;
79		reg-io-width = <1>;
80		interrupt-parent = <&gpio4>;
81		interrupts = <6 IRQ_TYPE_EDGE_RISING>;	/* gpio102 */
82		clock-frequency = <1843200>;
83		current-speed = <115200>;
84	};
85
86	ethernet@gpmc {
87		reg = <7 0 0xff>;
88		interrupt-parent = <&gpio5>;
89		interrupts = <30 IRQ_TYPE_LEVEL_LOW>;	/* gpio158 */
90	};
91};
92