mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
fd4446f25e
Commit f2bf0e72d0
(ARM: OMAP2+: Add minimal 8250 support
for GPMC) added support for using bootloader timings for some
devices. Turns out we can do the same by looking at the compatible
flags of the child without adding a new function as smc91x has
a similar issue as 8250 with the bootloader timings.
And let's fix the 8250 naming, we should use the device type as
the name like uart instead of 8250 for zoom dts file.
Cc: "Benoît Cousson" <bcousson@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
34 lines
714 B
Plaintext
34 lines
714 B
Plaintext
/*
|
|
* Common features on the Zoom debug board
|
|
*/
|
|
|
|
#include "omap-gpmc-smsc911x.dtsi"
|
|
|
|
&gpmc {
|
|
ranges = <3 0 0x10000000 0x00000400>,
|
|
<7 0 0x2c000000 0x01000000>;
|
|
|
|
/*
|
|
* Four port TL16CP754C serial port on GPMC,
|
|
* they probably share the same GPIO IRQ
|
|
* REVISIT: Add timing support from slls644g.pdf
|
|
*/
|
|
uart@3,0 {
|
|
compatible = "ns16550a";
|
|
reg = <3 0 0x100>;
|
|
bank-width = <2>;
|
|
reg-shift = <1>;
|
|
reg-io-width = <1>;
|
|
interrupt-parent = <&gpio4>;
|
|
interrupts = <6 IRQ_TYPE_EDGE_RISING>; /* gpio102 */
|
|
clock-frequency = <1843200>;
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
ethernet@gpmc {
|
|
reg = <7 0 0xff>;
|
|
interrupt-parent = <&gpio5>;
|
|
interrupts = <30 IRQ_TYPE_LEVEL_LOW>; /* gpio158 */
|
|
};
|
|
};
|