0001 /*
0002 * Copyright 2015 Timesys Corporation.
0003 * Copyright 2015 General Electric Company
0004 *
0005 * This file is dual-licensed: you can use it either under the terms
0006 * of the GPL or the X11 license, at your option. Note that this dual
0007 * licensing only applies to this file, and not this project as a
0008 * whole.
0009 *
0010 * a) This file is free software; you can redistribute it and/or
0011 * modify it under the terms of the GNU General Public License
0012 * version 2 as published by the Free Software Foundation.
0013 *
0014 * This file is distributed in the hope that it will be useful,
0015 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0017 * GNU General Public License for more details.
0018 *
0019 * Or, alternatively,
0020 *
0021 * b) Permission is hereby granted, free of charge, to any person
0022 * obtaining a copy of this software and associated documentation
0023 * files (the "Software"), to deal in the Software without
0024 * restriction, including without limitation the rights to use,
0025 * copy, modify, merge, publish, distribute, sublicense, and/or
0026 * sell copies of the Software, and to permit persons to whom the
0027 * Software is furnished to do so, subject to the following
0028 * conditions:
0029 *
0030 * The above copyright notice and this permission notice shall be
0031 * included in all copies or substantial portions of the Software.
0032 *
0033 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0034 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0035 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0036 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0037 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0038 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0039 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0040 * OTHER DEALINGS IN THE SOFTWARE.
0041 */
0042
0043 /dts-v1/;
0044
0045 #include "imx6q-bx50v3.dtsi"
0046
0047 / {
0048 model = "General Electric B650v3";
0049 compatible = "ge,imx6q-b650v3", "advantech,imx6q-ba16", "fsl,imx6q";
0050
0051 chosen {
0052 stdout-path = &uart3;
0053 };
0054
0055 panel-lvds0 {
0056 compatible = "innolux,g121x1-l03";
0057 backlight = <&backlight_lvds>;
0058 power-supply = <®_lvds>;
0059
0060 port {
0061 panel_in_lvds0: endpoint {
0062 remote-endpoint = <&lvds0_out>;
0063 };
0064 };
0065 };
0066 };
0067
0068 &ldb {
0069 status = "okay";
0070
0071 lvds0: lvds-channel@0 {
0072 fsl,data-mapping = "spwg";
0073 fsl,data-width = <24>;
0074 status = "okay";
0075
0076 port@4 {
0077 reg = <4>;
0078
0079 lvds0_out: endpoint {
0080 remote-endpoint = <&panel_in_lvds0>;
0081 };
0082 };
0083 };
0084 };
0085
0086 &pca9539 {
0087 gpio-line-names = "AMB_P_INT1#", "AMB_P_INT2#", "BT_EN", "WLAN_EN",
0088 "", "SM_D_ACT", "DP1_RST#", "",
0089 "WD15S_EN", "WD15S_DIS#", "", "",
0090 "", "", "", "";
0091
0092 P07-hog {
0093 gpio-hog;
0094 gpios = <7 0>;
0095 output-low;
0096 line-name = "PCA9539-P07";
0097 };
0098 };
0099
0100 &usbphy1 {
0101 fsl,tx-cal-45-dn-ohms = <55>;
0102 fsl,tx-cal-45-dp-ohms = <55>;
0103 fsl,tx-d-cal = <100>;
0104 };
0105
0106 &pci_root {
0107 /* Intel Corporation I210 Gigabit Network Connection */
0108 switch_nic: ethernet@3,0 {
0109 compatible = "pci8086,1533";
0110 reg = <0x00010000 0 0 0 0>;
0111 };
0112 };
0113
0114 &switch_ports {
0115 port@0 {
0116 reg = <0>;
0117 label = "enacq";
0118 phy-handle = <&switchphy0>;
0119 };
0120
0121 port@1 {
0122 reg = <1>;
0123 label = "eneport1";
0124 phy-handle = <&switchphy1>;
0125 };
0126
0127 port@2 {
0128 reg = <2>;
0129 label = "enix";
0130 phy-handle = <&switchphy2>;
0131 };
0132
0133 port@3 {
0134 reg = <3>;
0135 label = "enid";
0136 phy-handle = <&switchphy3>;
0137 };
0138
0139 port@4 {
0140 reg = <4>;
0141 label = "cpu";
0142 ethernet = <&switch_nic>;
0143 phy-handle = <&switchphy4>;
0144 };
0145
0146 port@5 {
0147 reg = <5>;
0148 label = "enembc";
0149
0150 /* connected to Ethernet MAC of AT91RM9200 in MII mode */
0151 fixed-link {
0152 speed = <100>;
0153 full-duplex;
0154 };
0155 };
0156 };