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 B450v3";
0049 compatible = "ge,imx6q-b450v3", "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 P04-hog {
0093 gpio-hog;
0094 gpios = <4 0>;
0095 output-low;
0096 line-name = "PCA9539-P04";
0097 };
0098
0099 P07-hog {
0100 gpio-hog;
0101 gpios = <7 0>;
0102 output-low;
0103 line-name = "PCA9539-P07";
0104 };
0105 };
0106
0107 &pci_root {
0108 /* Intel Corporation I210 Gigabit Network Connection */
0109 switch_nic: ethernet@3,0 {
0110 compatible = "pci8086,1533";
0111 reg = <0x00010000 0 0 0 0>;
0112 };
0113 };
0114
0115 &switch_ports {
0116 port@0 {
0117 reg = <0>;
0118 label = "enacq";
0119 phy-handle = <&switchphy0>;
0120 };
0121
0122 port@1 {
0123 reg = <1>;
0124 label = "eneport1";
0125 phy-handle = <&switchphy1>;
0126 };
0127
0128 port@2 {
0129 reg = <2>;
0130 label = "enix";
0131 phy-handle = <&switchphy2>;
0132 };
0133
0134 port@3 {
0135 reg = <3>;
0136 label = "enid";
0137 phy-handle = <&switchphy3>;
0138 };
0139
0140 port@4 {
0141 reg = <4>;
0142 label = "cpu";
0143 ethernet = <&switch_nic>;
0144 phy-handle = <&switchphy4>;
0145 };
0146
0147 port@5 {
0148 reg = <5>;
0149 label = "enembc";
0150
0151 /* connected to Ethernet MAC of AT91RM9200 in MII mode */
0152 fixed-link {
0153 speed = <100>;
0154 full-duplex;
0155 };
0156 };
0157 };