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