1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2015 Marek Vasut <marex@denx.de> 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/dts-v1/; 7*f126890aSEmmanuel Vadot#include "at91-sama5d4_ma5d4.dtsi" 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot/ { 10*f126890aSEmmanuel Vadot model = "Aries/DENX MA5D4EVK"; 11*f126890aSEmmanuel Vadot compatible = "aries,ma5d4evk", "denx,ma5d4evk", "atmel,sama5d4", "atmel,sama5"; 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot chosen { 14*f126890aSEmmanuel Vadot stdout-path = "serial3:115200n8"; 15*f126890aSEmmanuel Vadot }; 16*f126890aSEmmanuel Vadot 17*f126890aSEmmanuel Vadot ahb { 18*f126890aSEmmanuel Vadot usb0: gadget@400000 { 19*f126890aSEmmanuel Vadot atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>; 20*f126890aSEmmanuel Vadot pinctrl-names = "default"; 21*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usba_vbus>; 22*f126890aSEmmanuel Vadot status = "okay"; 23*f126890aSEmmanuel Vadot }; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot usb1: ohci@500000 { 26*f126890aSEmmanuel Vadot num-ports = <3>; 27*f126890aSEmmanuel Vadot atmel,vbus-gpio = <0 28*f126890aSEmmanuel Vadot &pioE 11 GPIO_ACTIVE_LOW 29*f126890aSEmmanuel Vadot &pioE 14 GPIO_ACTIVE_LOW 30*f126890aSEmmanuel Vadot >; 31*f126890aSEmmanuel Vadot status = "okay"; 32*f126890aSEmmanuel Vadot }; 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadot usb2: ehci@600000 { 35*f126890aSEmmanuel Vadot status = "okay"; 36*f126890aSEmmanuel Vadot }; 37*f126890aSEmmanuel Vadot 38*f126890aSEmmanuel Vadot apb { 39*f126890aSEmmanuel Vadot hlcdc: hlcdc@f0000000 { 40*f126890aSEmmanuel Vadot status = "okay"; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot hlcdc-display-controller { 43*f126890aSEmmanuel Vadot pinctrl-names = "default"; 44*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; 45*f126890aSEmmanuel Vadot 46*f126890aSEmmanuel Vadot port@0 { 47*f126890aSEmmanuel Vadot hlcdc_panel_output: endpoint@0 { 48*f126890aSEmmanuel Vadot reg = <0>; 49*f126890aSEmmanuel Vadot remote-endpoint = <&panel_input>; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot }; 52*f126890aSEmmanuel Vadot }; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot }; 55*f126890aSEmmanuel Vadot 56*f126890aSEmmanuel Vadot macb0: ethernet@f8020000 { 57*f126890aSEmmanuel Vadot phy-mode = "rmii"; 58*f126890aSEmmanuel Vadot status = "okay"; 59*f126890aSEmmanuel Vadot 60*f126890aSEmmanuel Vadot phy0: ethernet-phy@0 { 61*f126890aSEmmanuel Vadot reg = <0>; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot usart0: serial@f802c000 { 66*f126890aSEmmanuel Vadot status = "okay"; 67*f126890aSEmmanuel Vadot }; 68*f126890aSEmmanuel Vadot 69*f126890aSEmmanuel Vadot usart1: serial@f8030000 { 70*f126890aSEmmanuel Vadot status = "okay"; 71*f126890aSEmmanuel Vadot }; 72*f126890aSEmmanuel Vadot 73*f126890aSEmmanuel Vadot mmc1: mmc@fc000000 { 74*f126890aSEmmanuel Vadot pinctrl-names = "default"; 75*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>; 76*f126890aSEmmanuel Vadot vmmc-supply = <&vcc_mmc1_reg>; 77*f126890aSEmmanuel Vadot vqmmc-supply = <&vcc_3v3_reg>; 78*f126890aSEmmanuel Vadot status = "okay"; 79*f126890aSEmmanuel Vadot slot@0 { 80*f126890aSEmmanuel Vadot reg = <0>; 81*f126890aSEmmanuel Vadot bus-width = <4>; 82*f126890aSEmmanuel Vadot cd-gpios = <&pioE 5 0>; 83*f126890aSEmmanuel Vadot }; 84*f126890aSEmmanuel Vadot }; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot adc0: adc@fc034000 { 87*f126890aSEmmanuel Vadot atmel,adc-ts-wires = <4>; 88*f126890aSEmmanuel Vadot atmel,adc-ts-pressure-threshold = <10000>; 89*f126890aSEmmanuel Vadot }; 90*f126890aSEmmanuel Vadot 91*f126890aSEmmanuel Vadot 92*f126890aSEmmanuel Vadot pinctrl@fc06a000 { 93*f126890aSEmmanuel Vadot board { 94*f126890aSEmmanuel Vadot pinctrl_mmc1_cd: mmc1_cd { 95*f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOE 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; 96*f126890aSEmmanuel Vadot }; 97*f126890aSEmmanuel Vadot pinctrl_usba_vbus: usba_vbus { 98*f126890aSEmmanuel Vadot atmel,pins = 99*f126890aSEmmanuel Vadot <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; 100*f126890aSEmmanuel Vadot }; 101*f126890aSEmmanuel Vadot }; 102*f126890aSEmmanuel Vadot }; 103*f126890aSEmmanuel Vadot }; 104*f126890aSEmmanuel Vadot }; 105*f126890aSEmmanuel Vadot 106*f126890aSEmmanuel Vadot backlight: backlight { 107*f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 108*f126890aSEmmanuel Vadot pwms = <&hlcdc_pwm 0 50000 0>; 109*f126890aSEmmanuel Vadot brightness-levels = <0 4 8 16 32 64 128 255>; 110*f126890aSEmmanuel Vadot default-brightness-level = <6>; 111*f126890aSEmmanuel Vadot status = "okay"; 112*f126890aSEmmanuel Vadot }; 113*f126890aSEmmanuel Vadot 114*f126890aSEmmanuel Vadot leds { 115*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 116*f126890aSEmmanuel Vadot status = "okay"; 117*f126890aSEmmanuel Vadot 118*f126890aSEmmanuel Vadot led-user1 { 119*f126890aSEmmanuel Vadot label = "user1"; 120*f126890aSEmmanuel Vadot gpios = <&pioD 28 GPIO_ACTIVE_HIGH>; 121*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 122*f126890aSEmmanuel Vadot }; 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot led-user2 { 125*f126890aSEmmanuel Vadot label = "user2"; 126*f126890aSEmmanuel Vadot gpios = <&pioD 29 GPIO_ACTIVE_HIGH>; 127*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 128*f126890aSEmmanuel Vadot }; 129*f126890aSEmmanuel Vadot 130*f126890aSEmmanuel Vadot led-user3 { 131*f126890aSEmmanuel Vadot label = "user3"; 132*f126890aSEmmanuel Vadot gpios = <&pioD 30 GPIO_ACTIVE_HIGH>; 133*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 134*f126890aSEmmanuel Vadot }; 135*f126890aSEmmanuel Vadot }; 136*f126890aSEmmanuel Vadot 137*f126890aSEmmanuel Vadot panel: panel { 138*f126890aSEmmanuel Vadot /* Actually Ampire 800480R2 */ 139*f126890aSEmmanuel Vadot compatible = "foxlink,fl500wvr00-a0t"; 140*f126890aSEmmanuel Vadot backlight = <&backlight>; 141*f126890aSEmmanuel Vadot #address-cells = <1>; 142*f126890aSEmmanuel Vadot #size-cells = <0>; 143*f126890aSEmmanuel Vadot status = "okay"; 144*f126890aSEmmanuel Vadot 145*f126890aSEmmanuel Vadot port@0 { 146*f126890aSEmmanuel Vadot #address-cells = <1>; 147*f126890aSEmmanuel Vadot #size-cells = <0>; 148*f126890aSEmmanuel Vadot 149*f126890aSEmmanuel Vadot panel_input: endpoint@0 { 150*f126890aSEmmanuel Vadot reg = <0>; 151*f126890aSEmmanuel Vadot remote-endpoint = <&hlcdc_panel_output>; 152*f126890aSEmmanuel Vadot }; 153*f126890aSEmmanuel Vadot }; 154*f126890aSEmmanuel Vadot }; 155*f126890aSEmmanuel Vadot 156*f126890aSEmmanuel Vadot vcc_mmc1_reg: fixedregulator_mmc1 { 157*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 158*f126890aSEmmanuel Vadot gpio = <&pioE 17 GPIO_ACTIVE_LOW>; 159*f126890aSEmmanuel Vadot regulator-name = "VDD MCI1"; 160*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 161*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 162*f126890aSEmmanuel Vadot vin-supply = <&vcc_3v3_reg>; 163*f126890aSEmmanuel Vadot }; 164*f126890aSEmmanuel Vadot}; 165