0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Common features on the Zoom debug board
0004 */
0005
0006 #include "omap-gpmc-smsc911x.dtsi"
0007
0008 &gpmc {
0009 ranges = <3 0 0x10000000 0x1000000>, /* CS3: 16MB for UART */
0010 <7 0 0x2c000000 0x01000000>;
0011
0012 /*
0013 * Four port TL16CP754C serial port on GPMC,
0014 * they probably share the same GPIO IRQ
0015 * REVISIT: Add timing support from slls644g.pdf
0016 */
0017 uart@3,0 {
0018 compatible = "ns16550a";
0019 reg = <3 0 8>; /* CS3, offset 0, IO size 8 */
0020 bank-width = <2>;
0021 reg-shift = <1>;
0022 reg-io-width = <1>;
0023 interrupt-parent = <&gpio4>;
0024 interrupts = <6 IRQ_TYPE_EDGE_RISING>; /* gpio102 */
0025 clock-frequency = <1843200>;
0026 current-speed = <115200>;
0027 gpmc,mux-add-data = <0>;
0028 gpmc,device-width = <1>;
0029 gpmc,wait-pin = <1>;
0030 gpmc,cycle2cycle-samecsen;
0031 gpmc,cycle2cycle-diffcsen;
0032 gpmc,cs-on-ns = <5>;
0033 gpmc,cs-rd-off-ns = <155>;
0034 gpmc,cs-wr-off-ns = <155>;
0035 gpmc,adv-on-ns = <15>;
0036 gpmc,adv-rd-off-ns = <40>;
0037 gpmc,adv-wr-off-ns = <40>;
0038 gpmc,oe-on-ns = <45>;
0039 gpmc,oe-off-ns = <145>;
0040 gpmc,we-on-ns = <45>;
0041 gpmc,we-off-ns = <145>;
0042 gpmc,rd-cycle-ns = <155>;
0043 gpmc,wr-cycle-ns = <155>;
0044 gpmc,access-ns = <145>;
0045 gpmc,page-burst-access-ns = <20>;
0046 gpmc,bus-turnaround-ns = <20>;
0047 gpmc,cycle2cycle-delay-ns = <20>;
0048 gpmc,wait-monitoring-ns = <0>;
0049 gpmc,clk-activation-ns = <0>;
0050 gpmc,wr-data-mux-bus-ns = <45>;
0051 gpmc,wr-access-ns = <145>;
0052 };
0053 uart@3,1 {
0054 compatible = "ns16550a";
0055 reg = <3 0x100 8>; /* CS3, offset 0x100, IO size 8 */
0056 bank-width = <2>;
0057 reg-shift = <1>;
0058 reg-io-width = <1>;
0059 interrupt-parent = <&gpio4>;
0060 interrupts = <6 IRQ_TYPE_EDGE_RISING>; /* gpio102 */
0061 clock-frequency = <1843200>;
0062 current-speed = <115200>;
0063 };
0064 uart@3,2 {
0065 compatible = "ns16550a";
0066 reg = <3 0x200 8>; /* CS3, offset 0x200, IO size 8 */
0067 bank-width = <2>;
0068 reg-shift = <1>;
0069 reg-io-width = <1>;
0070 interrupt-parent = <&gpio4>;
0071 interrupts = <6 IRQ_TYPE_EDGE_RISING>; /* gpio102 */
0072 clock-frequency = <1843200>;
0073 current-speed = <115200>;
0074 };
0075 uart@3,3 {
0076 compatible = "ns16550a";
0077 reg = <3 0x300 8>; /* CS3, offset 0x300, IO size 8 */
0078 bank-width = <2>;
0079 reg-shift = <1>;
0080 reg-io-width = <1>;
0081 interrupt-parent = <&gpio4>;
0082 interrupts = <6 IRQ_TYPE_EDGE_RISING>; /* gpio102 */
0083 clock-frequency = <1843200>;
0084 current-speed = <115200>;
0085 };
0086
0087 ethernet@gpmc {
0088 reg = <7 0 0xff>;
0089 interrupt-parent = <&gpio5>;
0090 interrupts = <30 IRQ_TYPE_LEVEL_LOW>; /* gpio158 */
0091 };
0092 };