1a647ea17SMylene JOSSERAND/* 2a647ea17SMylene JOSSERAND * Copyright (C) 2016 Milo Kim <woogyom.kim@gmail.com> 3a647ea17SMylene JOSSERAND * 4a647ea17SMylene JOSSERAND * This file is dual-licensed: you can use it either under the terms 5a647ea17SMylene JOSSERAND * of the GPL or the X11 license, at your option. Note that this dual 6a647ea17SMylene JOSSERAND * licensing only applies to this file, and not this project as a 7a647ea17SMylene JOSSERAND * whole. 8a647ea17SMylene JOSSERAND * 9a647ea17SMylene JOSSERAND * a) This file is free software; you can redistribute it and/or 10a647ea17SMylene JOSSERAND * modify it under the terms of the GNU General Public License as 11a647ea17SMylene JOSSERAND * published by the Free Software Foundation; either version 2 of the 12a647ea17SMylene JOSSERAND * License, or (at your option) any later version. 13a647ea17SMylene JOSSERAND * 14a647ea17SMylene JOSSERAND * This file is distributed in the hope that it will be useful, 15a647ea17SMylene JOSSERAND * but WITHOUT ANY WARRANTY; without even the implied warranty of 16a647ea17SMylene JOSSERAND * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17a647ea17SMylene JOSSERAND * GNU General Public License for more details. 18a647ea17SMylene JOSSERAND * 19a647ea17SMylene JOSSERAND * Or, alternatively, 20a647ea17SMylene JOSSERAND * 21a647ea17SMylene JOSSERAND * b) Permission is hereby granted, free of charge, to any person 22a647ea17SMylene JOSSERAND * obtaining a copy of this software and associated documentation 23a647ea17SMylene JOSSERAND * files (the "Software"), to deal in the Software without 24a647ea17SMylene JOSSERAND * restriction, including without limitation the rights to use, 25a647ea17SMylene JOSSERAND * copy, modify, merge, publish, distribute, sublicense, and/or 26a647ea17SMylene JOSSERAND * sell copies of the Software, and to permit persons to whom the 27a647ea17SMylene JOSSERAND * Software is furnished to do so, subject to the following 28a647ea17SMylene JOSSERAND * conditions: 29a647ea17SMylene JOSSERAND * 30a647ea17SMylene JOSSERAND * The above copyright notice and this permission notice shall be 31a647ea17SMylene JOSSERAND * included in all copies or substantial portions of the Software. 32a647ea17SMylene JOSSERAND * 33a647ea17SMylene JOSSERAND * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34a647ea17SMylene JOSSERAND * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35a647ea17SMylene JOSSERAND * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36a647ea17SMylene JOSSERAND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 37a647ea17SMylene JOSSERAND * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38a647ea17SMylene JOSSERAND * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39a647ea17SMylene JOSSERAND * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40a647ea17SMylene JOSSERAND * OTHER DEALINGS IN THE SOFTWARE. 41a647ea17SMylene JOSSERAND */ 42a647ea17SMylene JOSSERAND 43a647ea17SMylene JOSSERAND#include "sun8i-h3-nanopi.dtsi" 44a647ea17SMylene JOSSERAND 45a647ea17SMylene JOSSERAND/ { 46a647ea17SMylene JOSSERAND model = "FriendlyArm NanoPi M1"; 47a647ea17SMylene JOSSERAND compatible = "friendlyarm,nanopi-m1", "allwinner,sun8i-h3"; 48*2d0c3d6bSAndre Przywara 49*2d0c3d6bSAndre Przywara aliases { 50*2d0c3d6bSAndre Przywara ethernet0 = &emac; 51*2d0c3d6bSAndre Przywara }; 52*2d0c3d6bSAndre Przywara 53*2d0c3d6bSAndre Przywara connector { 54*2d0c3d6bSAndre Przywara compatible = "hdmi-connector"; 55*2d0c3d6bSAndre Przywara type = "a"; 56*2d0c3d6bSAndre Przywara 57*2d0c3d6bSAndre Przywara port { 58*2d0c3d6bSAndre Przywara hdmi_con_in: endpoint { 59*2d0c3d6bSAndre Przywara remote-endpoint = <&hdmi_out_con>; 60*2d0c3d6bSAndre Przywara }; 61*2d0c3d6bSAndre Przywara }; 62*2d0c3d6bSAndre Przywara }; 63*2d0c3d6bSAndre Przywara}; 64*2d0c3d6bSAndre Przywara 65*2d0c3d6bSAndre Przywara&de { 66*2d0c3d6bSAndre Przywara status = "okay"; 67a647ea17SMylene JOSSERAND}; 68a647ea17SMylene JOSSERAND 69a647ea17SMylene JOSSERAND&ehci1 { 70a647ea17SMylene JOSSERAND status = "okay"; 71a647ea17SMylene JOSSERAND}; 72a647ea17SMylene JOSSERAND 73a647ea17SMylene JOSSERAND&ehci2 { 74a647ea17SMylene JOSSERAND status = "okay"; 75a647ea17SMylene JOSSERAND}; 76a647ea17SMylene JOSSERAND 77*2d0c3d6bSAndre Przywara&emac { 78*2d0c3d6bSAndre Przywara phy-handle = <&int_mii_phy>; 79*2d0c3d6bSAndre Przywara phy-mode = "mii"; 80*2d0c3d6bSAndre Przywara allwinner,leds-active-low; 81*2d0c3d6bSAndre Przywara status = "okay"; 82*2d0c3d6bSAndre Przywara}; 83*2d0c3d6bSAndre Przywara 84*2d0c3d6bSAndre Przywara&hdmi { 85*2d0c3d6bSAndre Przywara status = "okay"; 86*2d0c3d6bSAndre Przywara}; 87*2d0c3d6bSAndre Przywara 88*2d0c3d6bSAndre Przywara&hdmi_out { 89*2d0c3d6bSAndre Przywara hdmi_out_con: endpoint { 90*2d0c3d6bSAndre Przywara remote-endpoint = <&hdmi_con_in>; 91*2d0c3d6bSAndre Przywara }; 92*2d0c3d6bSAndre Przywara}; 93*2d0c3d6bSAndre Przywara 94*2d0c3d6bSAndre Przywara&ir { 95*2d0c3d6bSAndre Przywara pinctrl-names = "default"; 96*2d0c3d6bSAndre Przywara pinctrl-0 = <&ir_pins_a>; 97*2d0c3d6bSAndre Przywara status = "okay"; 98*2d0c3d6bSAndre Przywara}; 99*2d0c3d6bSAndre Przywara 100a647ea17SMylene JOSSERAND&ohci1 { 101a647ea17SMylene JOSSERAND status = "okay"; 102a647ea17SMylene JOSSERAND}; 103a647ea17SMylene JOSSERAND 104a647ea17SMylene JOSSERAND&ohci2 { 105a647ea17SMylene JOSSERAND status = "okay"; 106a647ea17SMylene JOSSERAND}; 107