1*f126890aSEmmanuel Vadot/* 2*f126890aSEmmanuel Vadot * Copyright 2015 Timesys Corporation. 3*f126890aSEmmanuel Vadot * Copyright 2015 General Electric Company 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * This file is dual-licensed: you can use it either under the terms 6*f126890aSEmmanuel Vadot * of the GPL or the X11 license, at your option. Note that this dual 7*f126890aSEmmanuel Vadot * licensing only applies to this file, and not this project as a 8*f126890aSEmmanuel Vadot * whole. 9*f126890aSEmmanuel Vadot * 10*f126890aSEmmanuel Vadot * a) This file is free software; you can redistribute it and/or 11*f126890aSEmmanuel Vadot * modify it under the terms of the GNU General Public License 12*f126890aSEmmanuel Vadot * version 2 as published by the Free Software Foundation. 13*f126890aSEmmanuel Vadot * 14*f126890aSEmmanuel Vadot * This file is distributed in the hope that it will be useful, 15*f126890aSEmmanuel Vadot * but WITHOUT ANY WARRANTY; without even the implied warranty of 16*f126890aSEmmanuel Vadot * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*f126890aSEmmanuel Vadot * GNU General Public License for more details. 18*f126890aSEmmanuel Vadot * 19*f126890aSEmmanuel Vadot * Or, alternatively, 20*f126890aSEmmanuel Vadot * 21*f126890aSEmmanuel Vadot * b) Permission is hereby granted, free of charge, to any person 22*f126890aSEmmanuel Vadot * obtaining a copy of this software and associated documentation 23*f126890aSEmmanuel Vadot * files (the "Software"), to deal in the Software without 24*f126890aSEmmanuel Vadot * restriction, including without limitation the rights to use, 25*f126890aSEmmanuel Vadot * copy, modify, merge, publish, distribute, sublicense, and/or 26*f126890aSEmmanuel Vadot * sell copies of the Software, and to permit persons to whom the 27*f126890aSEmmanuel Vadot * Software is furnished to do so, subject to the following 28*f126890aSEmmanuel Vadot * conditions: 29*f126890aSEmmanuel Vadot * 30*f126890aSEmmanuel Vadot * The above copyright notice and this permission notice shall be 31*f126890aSEmmanuel Vadot * included in all copies or substantial portions of the Software. 32*f126890aSEmmanuel Vadot * 33*f126890aSEmmanuel Vadot * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34*f126890aSEmmanuel Vadot * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35*f126890aSEmmanuel Vadot * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36*f126890aSEmmanuel Vadot * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 37*f126890aSEmmanuel Vadot * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38*f126890aSEmmanuel Vadot * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39*f126890aSEmmanuel Vadot * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40*f126890aSEmmanuel Vadot * OTHER DEALINGS IN THE SOFTWARE. 41*f126890aSEmmanuel Vadot */ 42*f126890aSEmmanuel Vadot 43*f126890aSEmmanuel Vadot/dts-v1/; 44*f126890aSEmmanuel Vadot 45*f126890aSEmmanuel Vadot#include "imx6q-bx50v3.dtsi" 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot/ { 48*f126890aSEmmanuel Vadot model = "General Electric B850v3"; 49*f126890aSEmmanuel Vadot compatible = "ge,imx6q-b850v3", "advantech,imx6q-ba16", "fsl,imx6q"; 50*f126890aSEmmanuel Vadot 51*f126890aSEmmanuel Vadot chosen { 52*f126890aSEmmanuel Vadot stdout-path = &uart3; 53*f126890aSEmmanuel Vadot }; 54*f126890aSEmmanuel Vadot}; 55*f126890aSEmmanuel Vadot 56*f126890aSEmmanuel Vadot&ldb { 57*f126890aSEmmanuel Vadot fsl,dual-channel; 58*f126890aSEmmanuel Vadot status = "okay"; 59*f126890aSEmmanuel Vadot 60*f126890aSEmmanuel Vadot lvds0: lvds-channel@0 { 61*f126890aSEmmanuel Vadot fsl,data-mapping = "spwg"; 62*f126890aSEmmanuel Vadot fsl,data-width = <24>; 63*f126890aSEmmanuel Vadot status = "okay"; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot port@4 { 66*f126890aSEmmanuel Vadot reg = <4>; 67*f126890aSEmmanuel Vadot 68*f126890aSEmmanuel Vadot lvds0_out: endpoint { 69*f126890aSEmmanuel Vadot remote-endpoint = <&stdp4028_in>; 70*f126890aSEmmanuel Vadot }; 71*f126890aSEmmanuel Vadot }; 72*f126890aSEmmanuel Vadot }; 73*f126890aSEmmanuel Vadot}; 74*f126890aSEmmanuel Vadot 75*f126890aSEmmanuel Vadot&i2c2 { 76*f126890aSEmmanuel Vadot pca9547_ddc: mux@70 { 77*f126890aSEmmanuel Vadot compatible = "nxp,pca9547"; 78*f126890aSEmmanuel Vadot reg = <0x70>; 79*f126890aSEmmanuel Vadot #address-cells = <1>; 80*f126890aSEmmanuel Vadot #size-cells = <0>; 81*f126890aSEmmanuel Vadot 82*f126890aSEmmanuel Vadot mux2_i2c1: i2c@0 { 83*f126890aSEmmanuel Vadot #address-cells = <1>; 84*f126890aSEmmanuel Vadot #size-cells = <0>; 85*f126890aSEmmanuel Vadot reg = <0x0>; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot 88*f126890aSEmmanuel Vadot mux2_i2c2: i2c@1 { 89*f126890aSEmmanuel Vadot #address-cells = <1>; 90*f126890aSEmmanuel Vadot #size-cells = <0>; 91*f126890aSEmmanuel Vadot reg = <0x1>; 92*f126890aSEmmanuel Vadot }; 93*f126890aSEmmanuel Vadot 94*f126890aSEmmanuel Vadot mux2_i2c3: i2c@2 { 95*f126890aSEmmanuel Vadot #address-cells = <1>; 96*f126890aSEmmanuel Vadot #size-cells = <0>; 97*f126890aSEmmanuel Vadot reg = <0x2>; 98*f126890aSEmmanuel Vadot }; 99*f126890aSEmmanuel Vadot 100*f126890aSEmmanuel Vadot mux2_i2c4: i2c@3 { 101*f126890aSEmmanuel Vadot #address-cells = <1>; 102*f126890aSEmmanuel Vadot #size-cells = <0>; 103*f126890aSEmmanuel Vadot reg = <0x3>; 104*f126890aSEmmanuel Vadot }; 105*f126890aSEmmanuel Vadot 106*f126890aSEmmanuel Vadot mux2_i2c5: i2c@4 { 107*f126890aSEmmanuel Vadot #address-cells = <1>; 108*f126890aSEmmanuel Vadot #size-cells = <0>; 109*f126890aSEmmanuel Vadot reg = <0x4>; 110*f126890aSEmmanuel Vadot }; 111*f126890aSEmmanuel Vadot 112*f126890aSEmmanuel Vadot mux2_i2c6: i2c@5 { 113*f126890aSEmmanuel Vadot #address-cells = <1>; 114*f126890aSEmmanuel Vadot #size-cells = <0>; 115*f126890aSEmmanuel Vadot reg = <0x5>; 116*f126890aSEmmanuel Vadot }; 117*f126890aSEmmanuel Vadot 118*f126890aSEmmanuel Vadot mux2_i2c7: i2c@6 { 119*f126890aSEmmanuel Vadot #address-cells = <1>; 120*f126890aSEmmanuel Vadot #size-cells = <0>; 121*f126890aSEmmanuel Vadot reg = <0x6>; 122*f126890aSEmmanuel Vadot }; 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot mux2_i2c8: i2c@7 { 125*f126890aSEmmanuel Vadot #address-cells = <1>; 126*f126890aSEmmanuel Vadot #size-cells = <0>; 127*f126890aSEmmanuel Vadot reg = <0x7>; 128*f126890aSEmmanuel Vadot }; 129*f126890aSEmmanuel Vadot }; 130*f126890aSEmmanuel Vadot}; 131*f126890aSEmmanuel Vadot 132*f126890aSEmmanuel Vadot&hdmi { 133*f126890aSEmmanuel Vadot ddc-i2c-bus = <&mux2_i2c1>; 134*f126890aSEmmanuel Vadot}; 135*f126890aSEmmanuel Vadot 136*f126890aSEmmanuel Vadot&mux1_i2c1 { 137*f126890aSEmmanuel Vadot ads7830@4a { 138*f126890aSEmmanuel Vadot compatible = "ti,ads7830"; 139*f126890aSEmmanuel Vadot reg = <0x4a>; 140*f126890aSEmmanuel Vadot }; 141*f126890aSEmmanuel Vadot}; 142*f126890aSEmmanuel Vadot 143*f126890aSEmmanuel Vadot&mux2_i2c2 { 144*f126890aSEmmanuel Vadot clock-frequency = <100000>; 145*f126890aSEmmanuel Vadot 146*f126890aSEmmanuel Vadot stdp2690@72 { 147*f126890aSEmmanuel Vadot compatible = "megachips,stdp2690-ge-b850v3-fw"; 148*f126890aSEmmanuel Vadot reg = <0x72>; 149*f126890aSEmmanuel Vadot 150*f126890aSEmmanuel Vadot ports { 151*f126890aSEmmanuel Vadot #address-cells = <1>; 152*f126890aSEmmanuel Vadot #size-cells = <0>; 153*f126890aSEmmanuel Vadot 154*f126890aSEmmanuel Vadot port@0 { 155*f126890aSEmmanuel Vadot reg = <0>; 156*f126890aSEmmanuel Vadot 157*f126890aSEmmanuel Vadot stdp2690_in: endpoint { 158*f126890aSEmmanuel Vadot remote-endpoint = <&stdp4028_out>; 159*f126890aSEmmanuel Vadot }; 160*f126890aSEmmanuel Vadot }; 161*f126890aSEmmanuel Vadot 162*f126890aSEmmanuel Vadot port@1 { 163*f126890aSEmmanuel Vadot reg = <1>; 164*f126890aSEmmanuel Vadot 165*f126890aSEmmanuel Vadot stdp2690_out: endpoint { 166*f126890aSEmmanuel Vadot /* Connector for external display */ 167*f126890aSEmmanuel Vadot }; 168*f126890aSEmmanuel Vadot }; 169*f126890aSEmmanuel Vadot }; 170*f126890aSEmmanuel Vadot }; 171*f126890aSEmmanuel Vadot 172*f126890aSEmmanuel Vadot stdp4028@73 { 173*f126890aSEmmanuel Vadot compatible = "megachips,stdp4028-ge-b850v3-fw"; 174*f126890aSEmmanuel Vadot reg = <0x73>; 175*f126890aSEmmanuel Vadot interrupt-parent = <&gpio2>; 176*f126890aSEmmanuel Vadot interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; 177*f126890aSEmmanuel Vadot 178*f126890aSEmmanuel Vadot ports { 179*f126890aSEmmanuel Vadot #address-cells = <1>; 180*f126890aSEmmanuel Vadot #size-cells = <0>; 181*f126890aSEmmanuel Vadot 182*f126890aSEmmanuel Vadot port@0 { 183*f126890aSEmmanuel Vadot reg = <0>; 184*f126890aSEmmanuel Vadot 185*f126890aSEmmanuel Vadot stdp4028_in: endpoint { 186*f126890aSEmmanuel Vadot remote-endpoint = <&lvds0_out>; 187*f126890aSEmmanuel Vadot }; 188*f126890aSEmmanuel Vadot }; 189*f126890aSEmmanuel Vadot 190*f126890aSEmmanuel Vadot port@1 { 191*f126890aSEmmanuel Vadot reg = <1>; 192*f126890aSEmmanuel Vadot 193*f126890aSEmmanuel Vadot stdp4028_out: endpoint { 194*f126890aSEmmanuel Vadot remote-endpoint = <&stdp2690_in>; 195*f126890aSEmmanuel Vadot }; 196*f126890aSEmmanuel Vadot }; 197*f126890aSEmmanuel Vadot }; 198*f126890aSEmmanuel Vadot }; 199*f126890aSEmmanuel Vadot}; 200*f126890aSEmmanuel Vadot 201*f126890aSEmmanuel Vadot&pca9539 { 202*f126890aSEmmanuel Vadot gpio-line-names = "AMB_P_INT1#", "AMB_P_INT2#", "BT_EN", "WLAN_EN", 203*f126890aSEmmanuel Vadot "REMOTE_ON_PML#", "SM_D_ACT", "DP1_RST#", "DP2_RST#", 204*f126890aSEmmanuel Vadot "", "", "", "", 205*f126890aSEmmanuel Vadot "", "", "", ""; 206*f126890aSEmmanuel Vadot 207*f126890aSEmmanuel Vadot P10-hog { 208*f126890aSEmmanuel Vadot gpio-hog; 209*f126890aSEmmanuel Vadot gpios = <8 0>; 210*f126890aSEmmanuel Vadot output-low; 211*f126890aSEmmanuel Vadot line-name = "PCA9539-P10"; 212*f126890aSEmmanuel Vadot }; 213*f126890aSEmmanuel Vadot 214*f126890aSEmmanuel Vadot P11-hog { 215*f126890aSEmmanuel Vadot gpio-hog; 216*f126890aSEmmanuel Vadot gpios = <9 0>; 217*f126890aSEmmanuel Vadot output-low; 218*f126890aSEmmanuel Vadot line-name = "PCA9539-P11"; 219*f126890aSEmmanuel Vadot }; 220*f126890aSEmmanuel Vadot}; 221*f126890aSEmmanuel Vadot 222*f126890aSEmmanuel Vadot&pci_root { 223*f126890aSEmmanuel Vadot /* PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch */ 224*f126890aSEmmanuel Vadot bridge@1,0 { 225*f126890aSEmmanuel Vadot compatible = "pci10b5,8605"; 226*f126890aSEmmanuel Vadot reg = <0x00010000 0 0 0 0>; 227*f126890aSEmmanuel Vadot 228*f126890aSEmmanuel Vadot #address-cells = <3>; 229*f126890aSEmmanuel Vadot #size-cells = <2>; 230*f126890aSEmmanuel Vadot 231*f126890aSEmmanuel Vadot bridge@2,1 { 232*f126890aSEmmanuel Vadot compatible = "pci10b5,8605"; 233*f126890aSEmmanuel Vadot reg = <0x00020800 0 0 0 0>; 234*f126890aSEmmanuel Vadot 235*f126890aSEmmanuel Vadot #address-cells = <3>; 236*f126890aSEmmanuel Vadot #size-cells = <2>; 237*f126890aSEmmanuel Vadot 238*f126890aSEmmanuel Vadot /* Intel Corporation I210 Gigabit Network Connection */ 239*f126890aSEmmanuel Vadot ethernet@3,0 { 240*f126890aSEmmanuel Vadot compatible = "pci8086,1533"; 241*f126890aSEmmanuel Vadot reg = <0x00030000 0 0 0 0>; 242*f126890aSEmmanuel Vadot }; 243*f126890aSEmmanuel Vadot }; 244*f126890aSEmmanuel Vadot 245*f126890aSEmmanuel Vadot bridge@2,2 { 246*f126890aSEmmanuel Vadot compatible = "pci10b5,8605"; 247*f126890aSEmmanuel Vadot reg = <0x00021000 0 0 0 0>; 248*f126890aSEmmanuel Vadot 249*f126890aSEmmanuel Vadot #address-cells = <3>; 250*f126890aSEmmanuel Vadot #size-cells = <2>; 251*f126890aSEmmanuel Vadot 252*f126890aSEmmanuel Vadot /* Intel Corporation I210 Gigabit Network Connection */ 253*f126890aSEmmanuel Vadot switch_nic: ethernet@4,0 { 254*f126890aSEmmanuel Vadot compatible = "pci8086,1533"; 255*f126890aSEmmanuel Vadot reg = <0x00040000 0 0 0 0>; 256*f126890aSEmmanuel Vadot }; 257*f126890aSEmmanuel Vadot }; 258*f126890aSEmmanuel Vadot }; 259*f126890aSEmmanuel Vadot}; 260*f126890aSEmmanuel Vadot 261*f126890aSEmmanuel Vadot&switch_ports { 262*f126890aSEmmanuel Vadot port@0 { 263*f126890aSEmmanuel Vadot reg = <0>; 264*f126890aSEmmanuel Vadot label = "eneport1"; 265*f126890aSEmmanuel Vadot phy-handle = <&switchphy0>; 266*f126890aSEmmanuel Vadot }; 267*f126890aSEmmanuel Vadot 268*f126890aSEmmanuel Vadot port@1 { 269*f126890aSEmmanuel Vadot reg = <1>; 270*f126890aSEmmanuel Vadot label = "eneport2"; 271*f126890aSEmmanuel Vadot phy-handle = <&switchphy1>; 272*f126890aSEmmanuel Vadot }; 273*f126890aSEmmanuel Vadot 274*f126890aSEmmanuel Vadot port@2 { 275*f126890aSEmmanuel Vadot reg = <2>; 276*f126890aSEmmanuel Vadot label = "enix"; 277*f126890aSEmmanuel Vadot phy-handle = <&switchphy2>; 278*f126890aSEmmanuel Vadot }; 279*f126890aSEmmanuel Vadot 280*f126890aSEmmanuel Vadot port@3 { 281*f126890aSEmmanuel Vadot reg = <3>; 282*f126890aSEmmanuel Vadot label = "enid"; 283*f126890aSEmmanuel Vadot phy-handle = <&switchphy3>; 284*f126890aSEmmanuel Vadot }; 285*f126890aSEmmanuel Vadot 286*f126890aSEmmanuel Vadot port@4 { 287*f126890aSEmmanuel Vadot reg = <4>; 288*f126890aSEmmanuel Vadot label = "cpu"; 289*f126890aSEmmanuel Vadot ethernet = <&switch_nic>; 290*f126890aSEmmanuel Vadot phy-handle = <&switchphy4>; 291*f126890aSEmmanuel Vadot }; 292*f126890aSEmmanuel Vadot}; 293