2016-02-20 06:35:29 +07:00
|
|
|
/*
|
|
|
|
* Copyright 2015 Timesys Corporation.
|
|
|
|
* Copyright 2015 General Electric Company
|
|
|
|
*
|
|
|
|
* This file is dual-licensed: you can use it either under the terms
|
|
|
|
* of the GPL or the X11 license, at your option. Note that this dual
|
|
|
|
* licensing only applies to this file, and not this project as a
|
|
|
|
* whole.
|
|
|
|
*
|
|
|
|
* a) This file is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* version 2 as published by the Free Software Foundation.
|
|
|
|
*
|
2017-01-03 17:27:13 +07:00
|
|
|
* This file is distributed in the hope that it will be useful,
|
2016-02-20 06:35:29 +07:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2017-01-03 17:27:13 +07:00
|
|
|
* Or, alternatively,
|
2016-02-20 06:35:29 +07:00
|
|
|
*
|
|
|
|
* b) Permission is hereby granted, free of charge, to any person
|
|
|
|
* obtaining a copy of this software and associated documentation
|
|
|
|
* files (the "Software"), to deal in the Software without
|
2017-01-03 17:27:13 +07:00
|
|
|
* restriction, including without limitation the rights to use,
|
2016-02-20 06:35:29 +07:00
|
|
|
* copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
* sell copies of the Software, and to permit persons to whom the
|
|
|
|
* Software is furnished to do so, subject to the following
|
|
|
|
* conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
|
*
|
2017-01-03 17:27:13 +07:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
2016-02-20 06:35:29 +07:00
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
|
|
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
2017-01-03 17:27:13 +07:00
|
|
|
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
2016-02-20 06:35:29 +07:00
|
|
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "imx6q-bx50v3.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "General Electric B450v3";
|
|
|
|
compatible = "ge,imx6q-b450v3", "advantech,imx6q-ba16", "fsl,imx6q";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = &uart3;
|
|
|
|
};
|
|
|
|
|
|
|
|
panel-lvds0 {
|
|
|
|
compatible = "innolux,g121x1-l03";
|
|
|
|
backlight = <&backlight_lvds>;
|
|
|
|
power-supply = <®_lvds>;
|
|
|
|
|
|
|
|
port {
|
|
|
|
panel_in_lvds0: endpoint {
|
|
|
|
remote-endpoint = <&lvds0_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-04-19 04:19:45 +07:00
|
|
|
&clks {
|
2016-02-20 06:35:29 +07:00
|
|
|
assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
|
|
|
|
<&clks IMX6QDL_CLK_LDB_DI1_SEL>;
|
|
|
|
assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
|
|
|
|
<&clks IMX6QDL_CLK_PLL3_USB_OTG>;
|
2016-04-19 04:19:45 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&ldb {
|
2016-02-20 06:35:29 +07:00
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
lvds0: lvds-channel@0 {
|
|
|
|
fsl,data-mapping = "spwg";
|
|
|
|
fsl,data-width = <24>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
port@4 {
|
|
|
|
reg = <4>;
|
|
|
|
|
|
|
|
lvds0_out: endpoint {
|
|
|
|
remote-endpoint = <&panel_in_lvds0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-08-13 00:45:11 +07:00
|
|
|
|
|
|
|
&pca9539 {
|
|
|
|
P04 {
|
|
|
|
gpio-hog;
|
|
|
|
gpios = <4 0>;
|
|
|
|
output-low;
|
|
|
|
line-name = "PCA9539-P04";
|
|
|
|
};
|
|
|
|
|
2017-02-03 08:21:14 +07:00
|
|
|
P07 {
|
|
|
|
gpio-hog;
|
|
|
|
gpios = <7 0>;
|
|
|
|
output-low;
|
|
|
|
line-name = "PCA9539-P07";
|
|
|
|
};
|
2016-08-13 00:45:11 +07:00
|
|
|
};
|
2018-01-23 22:03:50 +07:00
|
|
|
|
|
|
|
&pci_root {
|
|
|
|
/* Intel Corporation I210 Gigabit Network Connection */
|
|
|
|
switch_nic: ethernet@3,0 {
|
|
|
|
compatible = "pci8086,1533";
|
|
|
|
reg = <0x00010000 0 0 0 0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&switch_ports {
|
|
|
|
port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
label = "enacq";
|
|
|
|
phy-handle = <&switchphy0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
label = "eneport1";
|
|
|
|
phy-handle = <&switchphy1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
port@2 {
|
|
|
|
reg = <2>;
|
|
|
|
label = "enix";
|
|
|
|
phy-handle = <&switchphy2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
reg = <3>;
|
|
|
|
label = "enid";
|
|
|
|
phy-handle = <&switchphy3>;
|
|
|
|
};
|
|
|
|
|
|
|
|
port@4 {
|
|
|
|
reg = <4>;
|
|
|
|
label = "cpu";
|
|
|
|
ethernet = <&switch_nic>;
|
|
|
|
phy-handle = <&switchphy4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
port@5 {
|
|
|
|
reg = <5>;
|
|
|
|
label = "enembc";
|
|
|
|
|
|
|
|
/* connected to Ethernet MAC of AT91RM9200 in MII mode */
|
|
|
|
fixed-link {
|
|
|
|
speed = <100>;
|
|
|
|
full-duplex;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|