/* * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27 SOM1 EK board * * Copyright (C) 2017 Microchip Corporation * Wenyou Yang * * This file is dual-licensed: you can use it either under the terms * of the GPL or the X11 license, at your option. Note that this dual * licensing only applies to this file, and not this project as a * whole. * * a) This file is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This file is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * Or, alternatively, * * b) Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following * conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ /dts-v1/; #include #include "sama5d27_som1.dtsi" / { model = "Atmel SAMA5D27 SOM1 EK"; compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d2", "atmel,sama5"; chosen { bootph-all; stdout-path = &uart1; }; onewire_tm: onewire { gpios = <&pioA 17 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_onewire_tm_default>; status = "okay"; w1_eeprom: w1_eeprom@0 { compatible = "maxim,ds24b33"; status = "okay"; }; }; ahb { usb1: ohci@400000 { num-ports = <3>; atmel,vbus-gpio = <&pioA 42 0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_default>; status = "okay"; }; usb2: ehci@500000 { status = "okay"; }; sdmmc0: sdio-host@a0000000 { bus-width = <8>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; status = "okay"; bootph-all; }; sdmmc1: sdio-host@b0000000 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; status = "okay"; /* conflict with qspi0 */ bootph-all; }; apb { hlcdc: hlcdc@f0000000 { atmel,vl-bpix = <4>; atmel,guard-time = <1>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>; status = "okay"; bootph-all; display-timings { bootph-all; 480x272 { clock-frequency = <9000000>; hactive = <480>; vactive = <272>; hsync-len = <41>; hfront-porch = <2>; hback-porch = <2>; vfront-porch = <2>; vback-porch = <2>; vsync-len = <11>; bootph-all; }; }; }; uart1: serial@f8020000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1_default>; status = "okay"; bootph-all; }; pioA: pinctrl@fc038000 { pinctrl { pinctrl_lcd_base: pinctrl_lcd_base { pinmux = , , , ; bias-disable; }; pinctrl_lcd_pwm: pinctrl_lcd_pwm { pinmux = ; bias-disable; }; pinctrl_lcd_rgb666: pinctrl_lcd_rgb666 { pinmux = , , , , , , , , , , , , , , , , , ; bias-disable; }; pinctrl_sdmmc0_default: sdmmc0_default { cmd_dat { pinmux = , , , , , , , , ; bias-pull-up; bootph-all; }; ck_cd { pinmux = , , ; bias-disable; bootph-all; }; }; pinctrl_sdmmc1_default: sdmmc1_default { cmd_dat { pinmux = , , , , ; bias-pull-up; bootph-all; }; ck_cd { pinmux = , ; bias-disable; bootph-all; }; }; pinctrl_uart1_default: uart1_default { pinmux = , ; bias-disable; bootph-all; }; pinctrl_usb_default: usb_default { pinmux = ; bias-disable; }; pinctrl_usba_vbus: usba_vbus { pinmux = ; bias-disable; }; pinctrl_onewire_tm_default: onewire_tm_default { pinmux = ; bias-pull-up; }; }; }; }; }; };