1 1.1 jmcneill /* 2 1.1 jmcneill * Copyright 2015 Timesys Corporation. 3 1.1 jmcneill * Copyright 2015 General Electric Company 4 1.1 jmcneill * 5 1.1 jmcneill * This file is dual-licensed: you can use it either under the terms 6 1.1 jmcneill * of the GPL or the X11 license, at your option. Note that this dual 7 1.1 jmcneill * licensing only applies to this file, and not this project as a 8 1.1 jmcneill * whole. 9 1.1 jmcneill * 10 1.1 jmcneill * a) This file is free software; you can redistribute it and/or 11 1.1 jmcneill * modify it under the terms of the GNU General Public License 12 1.1 jmcneill * version 2 as published by the Free Software Foundation. 13 1.1 jmcneill * 14 1.1 jmcneill * This file is distributed in the hope that it will be useful, 15 1.1 jmcneill * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 1.1 jmcneill * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 1.1 jmcneill * GNU General Public License for more details. 18 1.1 jmcneill * 19 1.1 jmcneill * Or, alternatively, 20 1.1 jmcneill * 21 1.1 jmcneill * b) Permission is hereby granted, free of charge, to any person 22 1.1 jmcneill * obtaining a copy of this software and associated documentation 23 1.1 jmcneill * files (the "Software"), to deal in the Software without 24 1.1 jmcneill * restriction, including without limitation the rights to use, 25 1.1 jmcneill * copy, modify, merge, publish, distribute, sublicense, and/or 26 1.1 jmcneill * sell copies of the Software, and to permit persons to whom the 27 1.1 jmcneill * Software is furnished to do so, subject to the following 28 1.1 jmcneill * conditions: 29 1.1 jmcneill * 30 1.1 jmcneill * The above copyright notice and this permission notice shall be 31 1.1 jmcneill * included in all copies or substantial portions of the Software. 32 1.1 jmcneill * 33 1.1 jmcneill * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34 1.1 jmcneill * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35 1.1 jmcneill * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36 1.1 jmcneill * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 37 1.1 jmcneill * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38 1.1 jmcneill * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39 1.1 jmcneill * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40 1.1 jmcneill * OTHER DEALINGS IN THE SOFTWARE. 41 1.1 jmcneill */ 42 1.1 jmcneill 43 1.1 jmcneill /dts-v1/; 44 1.1 jmcneill 45 1.1 jmcneill #include "imx6q-bx50v3.dtsi" 46 1.1 jmcneill 47 1.1 jmcneill / { 48 1.1 jmcneill model = "General Electric B450v3"; 49 1.1 jmcneill compatible = "ge,imx6q-b450v3", "advantech,imx6q-ba16", "fsl,imx6q"; 50 1.1 jmcneill 51 1.1 jmcneill chosen { 52 1.1 jmcneill stdout-path = &uart3; 53 1.1 jmcneill }; 54 1.1 jmcneill 55 1.1 jmcneill panel-lvds0 { 56 1.1 jmcneill compatible = "innolux,g121x1-l03"; 57 1.1 jmcneill backlight = <&backlight_lvds>; 58 1.1 jmcneill power-supply = <®_lvds>; 59 1.1 jmcneill 60 1.1 jmcneill port { 61 1.1 jmcneill panel_in_lvds0: endpoint { 62 1.1 jmcneill remote-endpoint = <&lvds0_out>; 63 1.1 jmcneill }; 64 1.1 jmcneill }; 65 1.1 jmcneill }; 66 1.1 jmcneill }; 67 1.1 jmcneill 68 1.1 jmcneill &ldb { 69 1.1 jmcneill status = "okay"; 70 1.1 jmcneill 71 1.1 jmcneill lvds0: lvds-channel@0 { 72 1.1 jmcneill fsl,data-mapping = "spwg"; 73 1.1 jmcneill fsl,data-width = <24>; 74 1.1 jmcneill status = "okay"; 75 1.1 jmcneill 76 1.1 jmcneill port@4 { 77 1.1 jmcneill reg = <4>; 78 1.1 jmcneill 79 1.1 jmcneill lvds0_out: endpoint { 80 1.1 jmcneill remote-endpoint = <&panel_in_lvds0>; 81 1.1 jmcneill }; 82 1.1 jmcneill }; 83 1.1 jmcneill }; 84 1.1 jmcneill }; 85 1.1 jmcneill 86 1.1 jmcneill &pca9539 { 87 1.1.1.5 jmcneill gpio-line-names = "AMB_P_INT1#", "AMB_P_INT2#", "BT_EN", "WLAN_EN", 88 1.1.1.5 jmcneill "", "SM_D_ACT", "DP1_RST#", "", 89 1.1.1.5 jmcneill "WD15S_EN", "WD15S_DIS#", "", "", 90 1.1.1.5 jmcneill "", "", "", ""; 91 1.1.1.5 jmcneill 92 1.1.1.5 jmcneill P04-hog { 93 1.1 jmcneill gpio-hog; 94 1.1 jmcneill gpios = <4 0>; 95 1.1 jmcneill output-low; 96 1.1 jmcneill line-name = "PCA9539-P04"; 97 1.1 jmcneill }; 98 1.1 jmcneill 99 1.1.1.5 jmcneill P07-hog { 100 1.1.1.5 jmcneill gpio-hog; 101 1.1.1.5 jmcneill gpios = <7 0>; 102 1.1.1.5 jmcneill output-low; 103 1.1.1.5 jmcneill line-name = "PCA9539-P07"; 104 1.1.1.5 jmcneill }; 105 1.1 jmcneill }; 106 1.1.1.3 jmcneill 107 1.1.1.3 jmcneill &pci_root { 108 1.1.1.3 jmcneill /* Intel Corporation I210 Gigabit Network Connection */ 109 1.1.1.3 jmcneill switch_nic: ethernet@3,0 { 110 1.1.1.3 jmcneill compatible = "pci8086,1533"; 111 1.1.1.3 jmcneill reg = <0x00010000 0 0 0 0>; 112 1.1.1.3 jmcneill }; 113 1.1.1.3 jmcneill }; 114 1.1.1.3 jmcneill 115 1.1.1.3 jmcneill &switch_ports { 116 1.1.1.3 jmcneill port@0 { 117 1.1.1.3 jmcneill reg = <0>; 118 1.1.1.3 jmcneill label = "enacq"; 119 1.1.1.3 jmcneill phy-handle = <&switchphy0>; 120 1.1.1.3 jmcneill }; 121 1.1.1.3 jmcneill 122 1.1.1.3 jmcneill port@1 { 123 1.1.1.3 jmcneill reg = <1>; 124 1.1.1.3 jmcneill label = "eneport1"; 125 1.1.1.3 jmcneill phy-handle = <&switchphy1>; 126 1.1.1.3 jmcneill }; 127 1.1.1.3 jmcneill 128 1.1.1.3 jmcneill port@2 { 129 1.1.1.3 jmcneill reg = <2>; 130 1.1.1.3 jmcneill label = "enix"; 131 1.1.1.3 jmcneill phy-handle = <&switchphy2>; 132 1.1.1.3 jmcneill }; 133 1.1.1.3 jmcneill 134 1.1.1.3 jmcneill port@3 { 135 1.1.1.3 jmcneill reg = <3>; 136 1.1.1.3 jmcneill label = "enid"; 137 1.1.1.3 jmcneill phy-handle = <&switchphy3>; 138 1.1.1.3 jmcneill }; 139 1.1.1.3 jmcneill 140 1.1.1.3 jmcneill port@4 { 141 1.1.1.3 jmcneill reg = <4>; 142 1.1.1.3 jmcneill label = "cpu"; 143 1.1.1.3 jmcneill ethernet = <&switch_nic>; 144 1.1.1.3 jmcneill phy-handle = <&switchphy4>; 145 1.1.1.3 jmcneill }; 146 1.1.1.3 jmcneill 147 1.1.1.3 jmcneill port@5 { 148 1.1.1.3 jmcneill reg = <5>; 149 1.1.1.3 jmcneill label = "enembc"; 150 1.1.1.3 jmcneill 151 1.1.1.3 jmcneill /* connected to Ethernet MAC of AT91RM9200 in MII mode */ 152 1.1.1.3 jmcneill fixed-link { 153 1.1.1.3 jmcneill speed = <100>; 154 1.1.1.3 jmcneill full-duplex; 155 1.1.1.3 jmcneill }; 156 1.1.1.3 jmcneill }; 157 1.1.1.3 jmcneill }; 158