diff options
author | Tony Lindgren <tony@atomide.com> | 2014-10-29 20:16:48 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-10-30 11:50:26 -0400 |
commit | b5399ea8453ac1ffe5c1515ba63afc978e242e7f (patch) | |
tree | 258b21e12e14fdde6bee7eda1ad1eed18c804f37 /arch/arm | |
parent | 1bb37404397da5f32565de6bff8b8d4793ad07c4 (diff) |
ARM: dts: Add GPMC timings for omap zoom serial port
The four port serial port on the zoom debug board uses a TL16CP754C
with a single interrupt and GPMC chip select. The serial ports each
use a 8 bytes for IO registers, and are 256 bytes apart on the GPMC
line.
Let's add timings for all four ports so we can remove the GPMC
workarounds for using bootloader timings.
Not caused by this patch, but looks like u-boot only properly
initializes the fifo on the first serial port. Currently the other
ports produce garbage at least with my version of u-boot. I suspect
that TL16CP754C needs non-standard initialization added to 8250
driver to properly fix this issue.
Cc: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/omap-zoom-common.dtsi | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap-zoom-common.dtsi b/arch/arm/boot/dts/omap-zoom-common.dtsi index 2889b504792f..46ef3e443861 100644 --- a/arch/arm/boot/dts/omap-zoom-common.dtsi +++ b/arch/arm/boot/dts/omap-zoom-common.dtsi | |||
@@ -23,6 +23,64 @@ | |||
23 | interrupts = <6 IRQ_TYPE_EDGE_RISING>; /* gpio102 */ | 23 | interrupts = <6 IRQ_TYPE_EDGE_RISING>; /* gpio102 */ |
24 | clock-frequency = <1843200>; | 24 | clock-frequency = <1843200>; |
25 | current-speed = <115200>; | 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>; | ||
26 | }; | 84 | }; |
27 | 85 | ||
28 | ethernet@gpmc { | 86 | ethernet@gpmc { |