Linux Audio

Check our new training course

Loading...
v5.4
 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;
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};
v4.6
 
 1/*
 2 * Copyright (C) 2015 Ash Charles, Gumstix, Inc.
 3 *
 4 * This program is free software; you can redistribute it and/or modify
 5 * it under the terms of the GNU General Public License version 2 as
 6 * published by the Free Software Foundation.
 7 */
 8
 9/*
10 * TobiDuo expansion board is manufactured by Gumstix Inc.
11 */
12
13#include "omap3-overo-common-peripherals.dtsi"
14
15#include "omap-gpmc-smsc9221.dtsi"
16
17&gpmc {
18	ranges = <4 0 0x2b000000 0x1000000>,	/* CS4 */
19		 <5 0 0x2c000000 0x1000000>;	/* CS5 */
20
21	smsc1: ethernet@gpmc {
22		reg = <5 0 0xff>;
23		interrupt-parent = <&gpio6>;
24		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 176 */
25	};
26
27	smsc2: ethernet@4,0 {
28		compatible = "smsc,lan9221","smsc,lan9115";
29		bank-width = <2>;
30
31		gpmc,mux-add-data;
32		gpmc,cs-on-ns = <0>;
33		gpmc,cs-rd-off-ns = <42>;
34		gpmc,cs-wr-off-ns = <36>;
35		gpmc,adv-on-ns = <6>;
36		gpmc,adv-rd-off-ns = <12>;
37		gpmc,adv-wr-off-ns = <12>;
38		gpmc,oe-on-ns = <0>;
39		gpmc,oe-off-ns = <42>;
40		gpmc,we-on-ns = <0>;
41		gpmc,we-off-ns = <36>;
42		gpmc,rd-cycle-ns = <60>;
43		gpmc,wr-cycle-ns = <54>;
44		gpmc,access-ns = <36>;
45		gpmc,page-burst-access-ns = <0>;
46		gpmc,bus-turnaround-ns = <0>;
47		gpmc,cycle2cycle-delay-ns = <0>;
48		gpmc,wr-data-mux-bus-ns = <18>;
49		gpmc,wr-access-ns = <42>;
50		gpmc,cycle2cycle-samecsen;
51		gpmc,cycle2cycle-diffcsen;
52		vddvario-supply = <&vddvario>;
53		vdd33a-supply = <&vdd33a>;
54		reg-io-width = <4>;
55		smsc,save-mac-address;
56
57		reg = <4 0 0xff>;
58		interrupt-parent = <&gpio3>;
59		interrupts = <1 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 65 */
60	};
61};
62
63&lis33de {
64	status = "disabled";
65};