From d9f29c0bdca735315bf54ac93e090cfb5c3cbdb4 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Mon, 22 Mar 2021 04:11:03 +0900 Subject: [PATCH] arm: add PW-SH7 --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/imx28-pwsh7.dts | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/imx28-pwsh7.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d082274da7c9..0ef71e65b808 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -747,7 +747,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 diff --git a/arch/arm/boot/dts/imx28-pwsh7.dts b/arch/arm/boot/dts/imx28-pwsh7.dts new file mode 100644 index 000000000000..3822b1dfb97d --- /dev/null +++ b/arch/arm/boot/dts/imx28-pwsh7.dts @@ -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>; +};