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