Jagan Teki | 6e78dd7 | 2018-03-14 18:46:39 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 Marek Vasut <marex@denx.de> |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | #include "at91-sama5d4_ma5d4.dtsi" |
| 14 | |
| 15 | / { |
| 16 | model = "Aries/DENX MA5D4EVK"; |
| 17 | compatible = "aries,ma5d4evk", "denx,ma5d4evk", "atmel,sama5d4", "atmel,sama5"; |
| 18 | |
| 19 | chosen { |
| 20 | stdout-path = "serial3:115200n8"; |
| 21 | }; |
| 22 | |
| 23 | ahb { |
| 24 | apb { |
| 25 | hlcdc: hlcdc@f0000000 { |
| 26 | status = "okay"; |
| 27 | |
| 28 | hlcdc-display-controller { |
| 29 | pinctrl-names = "default"; |
| 30 | pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; |
| 31 | |
| 32 | port@0 { |
| 33 | hlcdc_panel_output: endpoint@0 { |
| 34 | reg = <0>; |
| 35 | remote-endpoint = <&panel_input>; |
| 36 | }; |
| 37 | }; |
| 38 | }; |
| 39 | |
| 40 | }; |
| 41 | |
| 42 | macb0: ethernet@f8020000 { |
| 43 | phy-mode = "rmii"; |
| 44 | status = "okay"; |
| 45 | |
| 46 | phy0: ethernet-phy@0 { |
| 47 | reg = <0>; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | usart0: serial@f802c000 { |
| 52 | status = "okay"; |
| 53 | }; |
| 54 | |
| 55 | usart1: serial@f8030000 { |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | |
| 59 | mmc1: mmc@fc000000 { |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>; |
| 62 | vmmc-supply = <&vcc_mmc1_reg>; |
| 63 | vqmmc-supply = <&vcc_3v3_reg>; |
| 64 | status = "okay"; |
| 65 | slot@0 { |
| 66 | reg = <0>; |
| 67 | bus-width = <4>; |
| 68 | cd-gpios = <&pioE 5 0>; |
| 69 | }; |
| 70 | }; |
| 71 | |
| 72 | adc0: adc@fc034000 { |
| 73 | atmel,adc-ts-wires = <4>; |
| 74 | atmel,adc-ts-pressure-threshold = <10000>; |
| 75 | }; |
| 76 | |
| 77 | |
| 78 | pinctrl@fc06a000 { |
| 79 | board { |
| 80 | pinctrl_mmc1_cd: mmc1_cd { |
| 81 | atmel,pins = <AT91_PIOE 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; |
| 82 | }; |
| 83 | pinctrl_usba_vbus: usba_vbus { |
| 84 | atmel,pins = |
| 85 | <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; |
| 86 | }; |
| 87 | }; |
| 88 | }; |
| 89 | }; |
| 90 | }; |
| 91 | |
| 92 | backlight: backlight { |
| 93 | compatible = "pwm-backlight"; |
| 94 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 95 | default-brightness-level = <6>; |
| 96 | status = "okay"; |
| 97 | }; |
| 98 | |
| 99 | leds { |
| 100 | compatible = "gpio-leds"; |
| 101 | status = "okay"; |
| 102 | |
| 103 | user1 { |
| 104 | label = "user1"; |
| 105 | gpios = <&pioD 28 GPIO_ACTIVE_HIGH>; |
| 106 | linux,default-trigger = "heartbeat"; |
| 107 | }; |
| 108 | |
| 109 | user2 { |
| 110 | label = "user2"; |
| 111 | gpios = <&pioD 29 GPIO_ACTIVE_HIGH>; |
| 112 | linux,default-trigger = "heartbeat"; |
| 113 | }; |
| 114 | |
| 115 | user3 { |
| 116 | label = "user3"; |
| 117 | gpios = <&pioD 30 GPIO_ACTIVE_HIGH>; |
| 118 | linux,default-trigger = "heartbeat"; |
| 119 | }; |
| 120 | }; |
| 121 | |
| 122 | panel: panel { |
| 123 | /* Actually Ampire 800480R2 */ |
| 124 | compatible = "foxlink,fl500wvr00-a0t", "simple-panel"; |
| 125 | backlight = <&backlight>; |
| 126 | #address-cells = <1>; |
| 127 | #size-cells = <0>; |
| 128 | status = "okay"; |
| 129 | |
| 130 | port@0 { |
| 131 | #address-cells = <1>; |
| 132 | #size-cells = <0>; |
| 133 | |
| 134 | panel_input: endpoint@0 { |
| 135 | reg = <0>; |
| 136 | remote-endpoint = <&hlcdc_panel_output>; |
| 137 | }; |
| 138 | }; |
| 139 | }; |
| 140 | |
| 141 | vcc_mmc1_reg: fixedregulator_mmc1 { |
| 142 | compatible = "regulator-fixed"; |
| 143 | gpio = <&pioE 17 GPIO_ACTIVE_LOW>; |
| 144 | regulator-name = "VDD MCI1"; |
| 145 | regulator-min-microvolt = <3300000>; |
| 146 | regulator-max-microvolt = <3300000>; |
| 147 | vin-supply = <&vcc_3v3_reg>; |
| 148 | }; |
| 149 | }; |