xref: /openbmc/linux/arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2*724ba675SRob Herring/*
3*724ba675SRob Herring * at91-cosino_mega2560.dts - Device Tree file for Cosino board with
4*724ba675SRob Herring *			      Mega 2560 extension
5*724ba675SRob Herring *
6*724ba675SRob Herring * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it>
7*724ba675SRob Herring *			HCE Engineering
8*724ba675SRob Herring *
9*724ba675SRob Herring * Derived from at91sam9g35ek.dts by:
10*724ba675SRob Herring * 	Copyright (C) 2012 Atmel,
11*724ba675SRob Herring *      2012 Nicolas Ferre <nicolas.ferre@atmel.com>
12*724ba675SRob Herring */
13*724ba675SRob Herring
14*724ba675SRob Herring/dts-v1/;
15*724ba675SRob Herring#include "at91-cosino.dtsi"
16*724ba675SRob Herring
17*724ba675SRob Herring/ {
18*724ba675SRob Herring	model = "HCE Cosino Mega 2560";
19*724ba675SRob Herring	compatible = "hce,cosino_mega2560", "atmel,at91sam9x5", "atmel,at91sam9";
20*724ba675SRob Herring};
21*724ba675SRob Herring
22*724ba675SRob Herring&adc0 {
23*724ba675SRob Herring	atmel,adc-ts-wires = <4>;
24*724ba675SRob Herring	atmel,adc-ts-pressure-threshold = <10000>;
25*724ba675SRob Herring	status = "okay";
26*724ba675SRob Herring};
27*724ba675SRob Herring
28*724ba675SRob Herring&macb0 {
29*724ba675SRob Herring	phy-mode = "rmii";
30*724ba675SRob Herring	status = "okay";
31*724ba675SRob Herring};
32*724ba675SRob Herring
33*724ba675SRob Herring&mmc1 {
34*724ba675SRob Herring	pinctrl-0 = <
35*724ba675SRob Herring		&pinctrl_mmc1_slot0_clk_cmd_dat0
36*724ba675SRob Herring		&pinctrl_mmc1_slot0_dat1_3>;
37*724ba675SRob Herring	pinctrl-names = "default";
38*724ba675SRob Herring	status = "okay";
39*724ba675SRob Herring
40*724ba675SRob Herring	slot@0 {
41*724ba675SRob Herring		reg = <0>;
42*724ba675SRob Herring		bus-width = <4>;
43*724ba675SRob Herring		non-removable;
44*724ba675SRob Herring	};
45*724ba675SRob Herring};
46*724ba675SRob Herring
47*724ba675SRob Herring&rtc {
48*724ba675SRob Herring	status = "okay";
49*724ba675SRob Herring};
50*724ba675SRob Herring
51*724ba675SRob Herring&usart1 {
52*724ba675SRob Herring	status = "okay";
53*724ba675SRob Herring};
54*724ba675SRob Herring
55*724ba675SRob Herring&usart2 {
56*724ba675SRob Herring	status = "okay";
57*724ba675SRob Herring};
58*724ba675SRob Herring
59*724ba675SRob Herring&usb0 {
60*724ba675SRob Herring	num-ports = <3>;
61*724ba675SRob Herring	atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */
62*724ba675SRob Herring			   &pioD 19 GPIO_ACTIVE_LOW
63*724ba675SRob Herring			   &pioD 20 GPIO_ACTIVE_LOW
64*724ba675SRob Herring			  >;
65*724ba675SRob Herring	status = "okay";
66*724ba675SRob Herring};
67*724ba675SRob Herring
68*724ba675SRob Herring&usb1 {
69*724ba675SRob Herring	status = "okay";
70*724ba675SRob Herring};
71*724ba675SRob Herring
72*724ba675SRob Herring&usb2 {
73*724ba675SRob Herring	atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
74*724ba675SRob Herring	status = "okay";
75*724ba675SRob Herring};
76