1 /* 2 * Copyright 2015 Josef Gajdusek <atx@atx.name> 3 * Copyright 2015 - Marcus Cooper <codekipper@g 4 * 5 * This file is dual-licensed: you can use it 6 * of the GPL or the X11 license, at your opti 7 * licensing only applies to this file, and no 8 * whole. 9 * 10 * a) This file is free software; you can red 11 * modify it under the terms of the GNU Ge 12 * published by the Free Software Foundati 13 * License, or (at your option) any later 14 * 15 * This file is distributed in the hope th 16 * but WITHOUT ANY WARRANTY; without even 17 * MERCHANTABILITY or FITNESS FOR A PARTIC 18 * GNU General Public License for more det 19 * 20 * Or, alternatively, 21 * 22 * b) Permission is hereby granted, free of c 23 * obtaining a copy of this software and a 24 * files (the "Software"), to deal in the 25 * restriction, including without limitati 26 * copy, modify, merge, publish, distribut 27 * sell copies of the Software, and to per 28 * Software is furnished to do so, subject 29 * conditions: 30 * 31 * The above copyright notice and this per 32 * included in all copies or substantial p 33 * 34 * THE SOFTWARE IS PROVIDED "AS IS", WITHO 35 * EXPRESS OR IMPLIED, INCLUDING BUT NOT L 36 * OF MERCHANTABILITY, FITNESS FOR A PARTI 37 * NONINFRINGEMENT. IN NO EVENT SHALL THE 38 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE 39 * WHETHER IN AN ACTION OF CONTRACT, TORT 40 * FROM, OUT OF OR IN CONNECTION WITH THE 41 * OTHER DEALINGS IN THE SOFTWARE. 42 */ 43 44 /dts-v1/; 45 #include "sun4i-a10.dtsi" 46 #include "sunxi-itead-core-common.dtsi" 47 48 / { 49 model = "Iteaduino Plus A10"; 50 compatible = "itead,iteaduino-plus-a10 51 }; 52 53 &ahci { 54 target-supply = <®_ahci_5v>; 55 status = "okay"; 56 }; 57 58 &emac { 59 pinctrl-names = "default"; 60 pinctrl-0 = <&emac_pins>; 61 phy-handle = <&phy1>; 62 status = "okay"; 63 }; 64 65 &emac_sram { 66 status = "okay"; 67 }; 68 69 &i2c0 { 70 pinctrl-names = "default"; 71 pinctrl-0 = <&i2c0_pins>; 72 73 axp209: pmic@34 { 74 interrupts = <0>; 75 }; 76 }; 77 78 &i2c1 { 79 pinctrl-names = "default"; 80 pinctrl-0 = <&i2c1_pins>; 81 status = "okay"; 82 }; 83 84 &i2c2 { 85 pinctrl-names = "default"; 86 pinctrl-0 = <&i2c2_pins>; 87 status = "okay"; 88 }; 89 90 &ir0 { 91 pinctrl-names = "default"; 92 pinctrl-0 = <&ir0_rx_pins>; 93 status = "okay"; 94 }; 95 96 &mdio { 97 status = "okay"; 98 99 phy1: ethernet-phy@1 { 100 reg = <1>; 101 }; 102 }; 103 104 &mmc0 { 105 pinctrl-names = "default"; 106 pinctrl-0 = <&mmc0_pins>; 107 vmmc-supply = <®_vcc3v3>; 108 bus-width = <4>; 109 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; 110 status = "okay"; 111 }; 112 113 ®_ahci_5v { 114 status = "okay"; 115 }; 116 117 &spi0 { 118 pinctrl-names = "default"; 119 pinctrl-0 = <&spi0_pi_pins>, 120 <&spi0_cs0_pi_pin>; 121 status = "okay"; 122 }; 123 124 &uart0 { 125 pinctrl-0 = <&uart0_pb_pins>; 126 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.