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