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