1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2015 Ash Charles, Gumstix, Inc.
4 */
5
6/*
7 * TobiDuo expansion board is manufactured by Gumstix Inc.
8 */
9
10#include "omap3-overo-common-peripherals.dtsi"
11
12#include "omap-gpmc-smsc9221.dtsi"
13
14&gpmc {
15	smsc1: ethernet@gpmc {
16		reg = <5 0 0xff>;
17		interrupt-parent = <&gpio6>;
18		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 176 */
19	};
20
21	smsc2: ethernet@4,0 {
22		compatible = "smsc,lan9221","smsc,lan9115";
23		bank-width = <2>;
24
25		gpmc,mux-add-data = <0>;
26		gpmc,cs-on-ns = <0>;
27		gpmc,cs-rd-off-ns = <42>;
28		gpmc,cs-wr-off-ns = <36>;
29		gpmc,adv-on-ns = <6>;
30		gpmc,adv-rd-off-ns = <12>;
31		gpmc,adv-wr-off-ns = <12>;
32		gpmc,oe-on-ns = <0>;
33		gpmc,oe-off-ns = <42>;
34		gpmc,we-on-ns = <0>;
35		gpmc,we-off-ns = <36>;
36		gpmc,rd-cycle-ns = <60>;
37		gpmc,wr-cycle-ns = <54>;
38		gpmc,access-ns = <36>;
39		gpmc,page-burst-access-ns = <0>;
40		gpmc,bus-turnaround-ns = <0>;
41		gpmc,cycle2cycle-delay-ns = <0>;
42		gpmc,wr-data-mux-bus-ns = <18>;
43		gpmc,wr-access-ns = <42>;
44		gpmc,cycle2cycle-samecsen;
45		gpmc,cycle2cycle-diffcsen;
46		vddvario-supply = <&vddvario>;
47		vdd33a-supply = <&vdd33a>;
48		reg-io-width = <4>;
49		smsc,save-mac-address;
50
51		reg = <4 0 0xff>;
52		interrupt-parent = <&gpio3>;
53		interrupts = <1 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 65 */
54	};
55};
56
57&lis33de {
58	status = "disabled";
59};
60