Skip to content

Commit c59eb82

Browse files
lw-karoShawn Guo
authored andcommitted
ARM: dts: imx: add support for TX6 modules on MB7 baseboard
Create .dts files for various Ka-Ro electronics TX modules on the MB7 baseboard. Signed-off-by: Lothar Waßmann <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 978f8f6 commit c59eb82

10 files changed

+403
-15
lines changed

arch/arm/boot/dts/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,13 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
389389
imx6dl-ts4900.dtb \
390390
imx6dl-tx6dl-comtft.dtb \
391391
imx6dl-tx6s-8034.dtb \
392+
imx6dl-tx6s-8034-mb7.dtb \
392393
imx6dl-tx6s-8035.dtb \
394+
imx6dl-tx6s-8035-mb7.dtb \
393395
imx6dl-tx6u-801x.dtb \
396+
imx6dl-tx6u-80xx-mb7.dtb \
394397
imx6dl-tx6u-8033.dtb \
398+
imx6dl-tx6u-8033-mb7.dtb \
395399
imx6dl-tx6u-811x.dtb \
396400
imx6dl-tx6u-81xx-mb7.dtb \
397401
imx6dl-udoo.dtb \
@@ -450,6 +454,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
450454
imx6q-tx6q-1020.dtb \
451455
imx6q-tx6q-1020-comtft.dtb \
452456
imx6q-tx6q-1036.dtb \
457+
imx6q-tx6q-1036-mb7.dtb \
458+
imx6q-tx6q-10x0-mb7.dtb \
453459
imx6q-tx6q-1110.dtb \
454460
imx6q-tx6q-11x0-mb7.dtb \
455461
imx6q-udoo.dtb \
@@ -463,7 +469,9 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
463469
imx6qp-sabreauto.dtb \
464470
imx6qp-sabresd.dtb \
465471
imx6qp-tx6qp-8037.dtb \
472+
imx6qp-tx6qp-8037-mb7.dtb \
466473
imx6qp-tx6qp-8137.dtb \
474+
imx6qp-tx6qp-8137-mb7.dtb \
467475
imx6qp-wandboard-revd1.dtb \
468476
imx6qp-zii-rdu2.dtb
469477
dtb-$(CONFIG_SOC_IMX6SL) += \
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2017 Lothar Waßmann <[email protected]>
3+
*
4+
* This file is dual-licensed: you can use it either under the terms
5+
* of the GPL or the X11 license, at your option. Note that this dual
6+
* licensing only applies to this file, and not this project as a
7+
* whole.
8+
*
9+
* a) This file is free software; you can redistribute it and/or
10+
* modify it under the terms of the GNU General Public License
11+
* version 2 as published by the Free Software Foundation.
12+
*
13+
* This file is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* Or, alternatively,
19+
*
20+
* b) Permission is hereby granted, free of charge, to any person
21+
* obtaining a copy of this software and associated documentation
22+
* files (the "Software"), to deal in the Software without
23+
* restriction, including without limitation the rights to use,
24+
* copy, modify, merge, publish, distribute, sublicense, and/or
25+
* sell copies of the Software, and to permit persons to whom the
26+
* Software is furnished to do so, subject to the following
27+
* conditions:
28+
*
29+
* The above copyright notice and this permission notice shall be
30+
* included in all copies or substantial portions of the Software.
31+
*
32+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34+
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37+
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39+
* OTHER DEALINGS IN THE SOFTWARE.
40+
*/
41+
42+
/dts-v1/;
43+
#include "imx6dl-tx6s-8034.dts"
44+
#include "imx6qdl-tx6-mb7.dtsi"
45+
46+
/ {
47+
model = "Ka-Ro electronics TX6S-8034 Module on MB7 baseboard";
48+
};
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2017 Lothar Waßmann <[email protected]>
3+
*
4+
* This file is dual-licensed: you can use it either under the terms
5+
* of the GPL or the X11 license, at your option. Note that this dual
6+
* licensing only applies to this file, and not this project as a
7+
* whole.
8+
*
9+
* a) This file is free software; you can redistribute it and/or
10+
* modify it under the terms of the GNU General Public License
11+
* version 2 as published by the Free Software Foundation.
12+
*
13+
* This file is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* Or, alternatively,
19+
*
20+
* b) Permission is hereby granted, free of charge, to any person
21+
* obtaining a copy of this software and associated documentation
22+
* files (the "Software"), to deal in the Software without
23+
* restriction, including without limitation the rights to use,
24+
* copy, modify, merge, publish, distribute, sublicense, and/or
25+
* sell copies of the Software, and to permit persons to whom the
26+
* Software is furnished to do so, subject to the following
27+
* conditions:
28+
*
29+
* The above copyright notice and this permission notice shall be
30+
* included in all copies or substantial portions of the Software.
31+
*
32+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34+
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37+
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39+
* OTHER DEALINGS IN THE SOFTWARE.
40+
*/
41+
42+
/dts-v1/;
43+
#include "imx6dl-tx6s-8035.dts"
44+
#include "imx6qdl-tx6-mb7.dtsi"
45+
46+
/ {
47+
model = "Ka-Ro electronics TX6U-8035 Module on MB7 baseboard";
48+
};
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2017 Lothar Waßmann <[email protected]>
3+
*
4+
* This file is dual-licensed: you can use it either under the terms
5+
* of the GPL or the X11 license, at your option. Note that this dual
6+
* licensing only applies to this file, and not this project as a
7+
* whole.
8+
*
9+
* a) This file is free software; you can redistribute it and/or
10+
* modify it under the terms of the GNU General Public License
11+
* version 2 as published by the Free Software Foundation.
12+
*
13+
* This file is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* Or, alternatively,
19+
*
20+
* b) Permission is hereby granted, free of charge, to any person
21+
* obtaining a copy of this software and associated documentation
22+
* files (the "Software"), to deal in the Software without
23+
* restriction, including without limitation the rights to use,
24+
* copy, modify, merge, publish, distribute, sublicense, and/or
25+
* sell copies of the Software, and to permit persons to whom the
26+
* Software is furnished to do so, subject to the following
27+
* conditions:
28+
*
29+
* The above copyright notice and this permission notice shall be
30+
* included in all copies or substantial portions of the Software.
31+
*
32+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34+
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37+
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39+
* OTHER DEALINGS IN THE SOFTWARE.
40+
*/
41+
42+
/dts-v1/;
43+
#include "imx6dl-tx6u-8033.dts"
44+
#include "imx6qdl-tx6-mb7.dtsi"
45+
46+
/ {
47+
model = "Ka-Ro electronics TX6U-8033 Module on MB7 baseboard";
48+
};
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2017 Lothar Waßmann <[email protected]>
3+
*
4+
* This file is dual-licensed: you can use it either under the terms
5+
* of the GPL or the X11 license, at your option. Note that this dual
6+
* licensing only applies to this file, and not this project as a
7+
* whole.
8+
*
9+
* a) This file is free software; you can redistribute it and/or
10+
* modify it under the terms of the GNU General Public License
11+
* version 2 as published by the Free Software Foundation.
12+
*
13+
* This file is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* Or, alternatively,
19+
*
20+
* b) Permission is hereby granted, free of charge, to any person
21+
* obtaining a copy of this software and associated documentation
22+
* files (the "Software"), to deal in the Software without
23+
* restriction, including without limitation the rights to use,
24+
* copy, modify, merge, publish, distribute, sublicense, and/or
25+
* sell copies of the Software, and to permit persons to whom the
26+
* Software is furnished to do so, subject to the following
27+
* conditions:
28+
*
29+
* The above copyright notice and this permission notice shall be
30+
* included in all copies or substantial portions of the Software.
31+
*
32+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34+
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37+
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39+
* OTHER DEALINGS IN THE SOFTWARE.
40+
*/
41+
42+
/dts-v1/;
43+
#include "imx6dl-tx6u-801x.dts"
44+
#include "imx6qdl-tx6-mb7.dtsi"
45+
46+
/ {
47+
model = "Ka-Ro electronics TX6U-8030/-8010/-8012 Module on MB7 baseboard";
48+
};

arch/arm/boot/dts/imx6dl-tx6u-81xx-mb7.dts

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,9 @@
4040
*/
4141

4242
/dts-v1/;
43-
#include "imx6dl.dtsi"
44-
#include "imx6qdl-tx6.dtsi"
45-
#include "imx6qdl-tx6-lvds.dtsi"
43+
#include "imx6dl-tx6u-811x.dts"
4644
#include "imx6qdl-tx6-mb7.dtsi"
4745

4846
/ {
49-
model = "Ka-Ro electronics TX6U-81xx Module on MB7 baseboard";
50-
compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl";
51-
};
52-
53-
&backlight0 {
54-
pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
55-
turn-on-delay-ms = <35>;
56-
};
57-
58-
&backlight1 {
59-
pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
60-
turn-on-delay-ms = <35>;
47+
model = "Ka-Ro electronics TX6U-8130/-8110 Module on MB7 baseboard";
6148
};
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2017 Lothar Waßmann <[email protected]>
3+
*
4+
* This file is dual-licensed: you can use it either under the terms
5+
* of the GPL or the X11 license, at your option. Note that this dual
6+
* licensing only applies to this file, and not this project as a
7+
* whole.
8+
*
9+
* a) This file is free software; you can redistribute it and/or
10+
* modify it under the terms of the GNU General Public License
11+
* version 2 as published by the Free Software Foundation.
12+
*
13+
* This file is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* Or, alternatively,
19+
*
20+
* b) Permission is hereby granted, free of charge, to any person
21+
* obtaining a copy of this software and associated documentation
22+
* files (the "Software"), to deal in the Software without
23+
* restriction, including without limitation the rights to use,
24+
* copy, modify, merge, publish, distribute, sublicense, and/or
25+
* sell copies of the Software, and to permit persons to whom the
26+
* Software is furnished to do so, subject to the following
27+
* conditions:
28+
*
29+
* The above copyright notice and this permission notice shall be
30+
* included in all copies or substantial portions of the Software.
31+
*
32+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34+
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37+
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39+
* OTHER DEALINGS IN THE SOFTWARE.
40+
*/
41+
42+
/dts-v1/;
43+
#include "imx6q-tx6q-1036.dts"
44+
#include "imx6qdl-tx6-mb7.dtsi"
45+
46+
/ {
47+
model = "Ka-Ro electronics TX6Q-1036 Module on MB7 baseboard";
48+
};
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2017 Lothar Waßmann <[email protected]>
3+
*
4+
* This file is dual-licensed: you can use it either under the terms
5+
* of the GPL or the X11 license, at your option. Note that this dual
6+
* licensing only applies to this file, and not this project as a
7+
* whole.
8+
*
9+
* a) This file is free software; you can redistribute it and/or
10+
* modify it under the terms of the GNU General Public License
11+
* version 2 as published by the Free Software Foundation.
12+
*
13+
* This file is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* Or, alternatively,
19+
*
20+
* b) Permission is hereby granted, free of charge, to any person
21+
* obtaining a copy of this software and associated documentation
22+
* files (the "Software"), to deal in the Software without
23+
* restriction, including without limitation the rights to use,
24+
* copy, modify, merge, publish, distribute, sublicense, and/or
25+
* sell copies of the Software, and to permit persons to whom the
26+
* Software is furnished to do so, subject to the following
27+
* conditions:
28+
*
29+
* The above copyright notice and this permission notice shall be
30+
* included in all copies or substantial portions of the Software.
31+
*
32+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34+
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37+
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39+
* OTHER DEALINGS IN THE SOFTWARE.
40+
*/
41+
42+
/dts-v1/;
43+
#include "imx6q-tx6q-1010.dts"
44+
#include "imx6qdl-tx6-mb7.dtsi"
45+
46+
/ {
47+
model = "Ka-Ro electronics TX6Q-1010/-1030 Module on MB7 baseboard";
48+
};

0 commit comments

Comments
 (0)