xref: /linux/arch/arm/boot/dts/microchip/at91-dvk_su60_somc.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * at91-dvk_su60_somc.dtsi - Device Tree file for the DVK SOM60 base board
4*724ba675SRob Herring *
5*724ba675SRob Herring *  Copyright (C) 2018 Laird,
6*724ba675SRob Herring *		  2018 Ben Whitten <ben.whitten@lairdtech.com>
7*724ba675SRob Herring *
8*724ba675SRob Herring */
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	sound {
12*724ba675SRob Herring		compatible = "atmel,asoc-wm8904";
13*724ba675SRob Herring		pinctrl-names = "default";
14*724ba675SRob Herring		pinctrl-0 = <&pinctrl_pck2_as_audio_mck>;
15*724ba675SRob Herring
16*724ba675SRob Herring		atmel,model = "wm8904 @ DVK-SOM60";
17*724ba675SRob Herring		atmel,audio-routing =
18*724ba675SRob Herring			"Headphone Jack", "HPOUTL",
19*724ba675SRob Herring			"Headphone Jack", "HPOUTR",
20*724ba675SRob Herring			"IN2L", "Line In Jack",
21*724ba675SRob Herring			"IN2R", "Line In Jack",
22*724ba675SRob Herring			"Mic", "MICBIAS",
23*724ba675SRob Herring			"IN1L", "Mic";
24*724ba675SRob Herring
25*724ba675SRob Herring		atmel,ssc-controller = <&ssc0>;
26*724ba675SRob Herring		atmel,audio-codec = <&wm8904>;
27*724ba675SRob Herring
28*724ba675SRob Herring		status = "okay";
29*724ba675SRob Herring	};
30*724ba675SRob Herring};
31*724ba675SRob Herring
32*724ba675SRob Herring&mmc0 {
33*724ba675SRob Herring	status = "okay";
34*724ba675SRob Herring
35*724ba675SRob Herring	pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
36*724ba675SRob Herring	slot@0 {
37*724ba675SRob Herring		bus-width = <4>;
38*724ba675SRob Herring		cd-gpios = <&pioE 31 GPIO_ACTIVE_HIGH>;
39*724ba675SRob Herring		cd-inverted;
40*724ba675SRob Herring	};
41*724ba675SRob Herring};
42*724ba675SRob Herring
43*724ba675SRob Herring&spi0 {
44*724ba675SRob Herring	status = "okay";
45*724ba675SRob Herring
46*724ba675SRob Herring	/* spi0.0: 4M Flash Macronix MX25R4035FM1IL0 */
47*724ba675SRob Herring	flash@0 {
48*724ba675SRob Herring		compatible = "mxicy,mx25u4035", "jedec,spi-nor";
49*724ba675SRob Herring		spi-max-frequency = <33000000>;
50*724ba675SRob Herring		reg = <0>;
51*724ba675SRob Herring	};
52*724ba675SRob Herring};
53*724ba675SRob Herring
54*724ba675SRob Herring&ssc0 {
55*724ba675SRob Herring	atmel,clk-from-rk-pin;
56*724ba675SRob Herring	status = "okay";
57*724ba675SRob Herring};
58*724ba675SRob Herring
59*724ba675SRob Herring&i2c0 {
60*724ba675SRob Herring	status = "okay";
61*724ba675SRob Herring
62*724ba675SRob Herring	wm8904: wm8904@1a {
63*724ba675SRob Herring		compatible = "wlf,wm8904";
64*724ba675SRob Herring		reg = <0x1a>;
65*724ba675SRob Herring		clocks = <&pmc PMC_TYPE_SYSTEM 10>;
66*724ba675SRob Herring		clock-names = "mclk";
67*724ba675SRob Herring	};
68*724ba675SRob Herring};
69*724ba675SRob Herring
70*724ba675SRob Herring&i2c1 {
71*724ba675SRob Herring	status = "okay";
72*724ba675SRob Herring
73*724ba675SRob Herring	eeprom@57 {
74*724ba675SRob Herring		compatible = "giantec,gt24c32a", "atmel,24c32";
75*724ba675SRob Herring		reg = <0x57>;
76*724ba675SRob Herring		pagesize = <32>;
77*724ba675SRob Herring	};
78*724ba675SRob Herring};
79*724ba675SRob Herring
80*724ba675SRob Herring&usart1 {
81*724ba675SRob Herring	status = "okay";
82*724ba675SRob Herring};
83*724ba675SRob Herring
84*724ba675SRob Herring&usart2 {
85*724ba675SRob Herring	status = "okay";
86*724ba675SRob Herring};
87*724ba675SRob Herring
88*724ba675SRob Herring&usart3 {
89*724ba675SRob Herring	status = "okay";
90*724ba675SRob Herring};
91*724ba675SRob Herring
92*724ba675SRob Herring&uart0 {
93*724ba675SRob Herring	status = "okay";
94*724ba675SRob Herring};
95*724ba675SRob Herring
96*724ba675SRob Herring&dbgu {
97*724ba675SRob Herring	status = "okay";
98*724ba675SRob Herring};
99*724ba675SRob Herring
100*724ba675SRob Herring&pit {
101*724ba675SRob Herring	status = "okay";
102*724ba675SRob Herring};
103*724ba675SRob Herring
104*724ba675SRob Herring&adc0 {
105*724ba675SRob Herring	status = "okay";
106*724ba675SRob Herring};
107*724ba675SRob Herring
108*724ba675SRob Herring&can1 {
109*724ba675SRob Herring	status = "okay";
110*724ba675SRob Herring};
111*724ba675SRob Herring
112*724ba675SRob Herring&macb0 {
113*724ba675SRob Herring	#address-cells = <1>;
114*724ba675SRob Herring	#size-cells = <0>;
115*724ba675SRob Herring	status = "okay";
116*724ba675SRob Herring
117*724ba675SRob Herring	ethernet-phy@7 {
118*724ba675SRob Herring		reg = <7>;
119*724ba675SRob Herring		pinctrl-names = "default";
120*724ba675SRob Herring		pinctrl-0 = <&pinctrl_geth_int>;
121*724ba675SRob Herring		interrupt-parent = <&pioB>;
122*724ba675SRob Herring		interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
123*724ba675SRob Herring		txen-skew-ps = <800>;
124*724ba675SRob Herring		txc-skew-ps = <3000>;
125*724ba675SRob Herring		rxdv-skew-ps = <400>;
126*724ba675SRob Herring		rxc-skew-ps = <3000>;
127*724ba675SRob Herring		rxd0-skew-ps = <400>;
128*724ba675SRob Herring		rxd1-skew-ps = <400>;
129*724ba675SRob Herring		rxd2-skew-ps = <400>;
130*724ba675SRob Herring		rxd3-skew-ps = <400>;
131*724ba675SRob Herring	};
132*724ba675SRob Herring};
133*724ba675SRob Herring
134*724ba675SRob Herring&macb1 {
135*724ba675SRob Herring	#address-cells = <1>;
136*724ba675SRob Herring	#size-cells = <0>;
137*724ba675SRob Herring	status = "okay";
138*724ba675SRob Herring
139*724ba675SRob Herring	ethernet-phy@1 {
140*724ba675SRob Herring		reg = <1>;
141*724ba675SRob Herring		pinctrl-names = "default";
142*724ba675SRob Herring		pinctrl-0 = <&pinctrl_eth_int>;
143*724ba675SRob Herring		interrupt-parent = <&pioC>;
144*724ba675SRob Herring		interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
145*724ba675SRob Herring	};
146*724ba675SRob Herring};
147*724ba675SRob Herring
148*724ba675SRob Herring&usb0 {
149*724ba675SRob Herring	status = "okay";
150*724ba675SRob Herring};
151*724ba675SRob Herring
152*724ba675SRob Herring&usb1 {
153*724ba675SRob Herring	status = "okay";
154*724ba675SRob Herring};
155*724ba675SRob Herring
156*724ba675SRob Herring&usb2 {
157*724ba675SRob Herring	status = "okay";
158*724ba675SRob Herring};
159*724ba675SRob Herring
160