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