Merge pull request #7 from brain-hackers/pwsh7

Add support for PW-SH7
This commit is contained in:
Takumi Sueda 2021-03-22 04:12:23 +09:00 committed by GitHub
commit 1f760c2230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 5 deletions

View File

@ -672,7 +672,8 @@ dtb-$(CONFIG_ARCH_MXS) += \
imx28-pwsh3.dtb \
imx28-pwsh4.dtb \
imx28-pwsh5.dtb \
imx28-pwsh6.dtb
imx28-pwsh6.dtb \
imx28-pwsh7.dtb
dtb-$(CONFIG_ARCH_NOMADIK) += \
ste-nomadik-s8815.dtb \
ste-nomadik-nhk15.dtb

View File

@ -6,8 +6,8 @@
#include "imx28-brain.dtsi"
/ {
model = "SHARP Brain PW-SH6";
compatible = "sharp,pw-sh6", "sharp,brain", "fsl,imx28";
model = "SHARP Brain PW-SH5";
compatible = "sharp,pw-sh5", "sharp,brain", "fsl,imx28";
};
&brainlcd {

View File

@ -6,8 +6,8 @@
#include "imx28-brain.dtsi"
/ {
model = "SHARP Brain PW-SH3";
compatible = "sharp,pw-sh3", "sharp,brain", "fsl,imx28";
model = "SHARP Brain PW-SH6";
compatible = "sharp,pw-sh6", "sharp,brain", "fsl,imx28";
};
&brainlcd {

View File

@ -0,0 +1,28 @@
// SPDX-License-Identifier: GPL-2.0+
//
// Copyright 2012 Freescale Semiconductor, Inc.
/dts-v1/;
#include "imx28-brain.dtsi"
/ {
model = "SHARP Brain PW-SH7";
compatible = "sharp,pw-sh7", "sharp,brain", "fsl,imx28";
};
&brainlcd {
status = "okay";
sharp,lcd-width = <854>;
sharp,lcd-height = <480>;
sharp,lcd-width-mm = <121>;
sharp,lcd-height-mm = <68>;
sharp,mac-flip-y-gs;
sharp,mac-transpose;
sharp,en-gpios =
<&gpio0 26 GPIO_ACTIVE_HIGH>,
<&gpio0 27 GPIO_ACTIVE_HIGH>,
<&gpio4 16 GPIO_ACTIVE_HIGH>;
};