* [PATCH 2/3] ARM: dts: imx6dl-yapp4: Add Y Soft IOTA Orion board
2020-07-31 12:00 [PATCH 1/3] dt-bindings: arm: fsl: Add Y Soft IOTA Orion board Michal Vokáč
@ 2020-07-31 12:00 ` Michal Vokáč
2020-07-31 12:00 ` [PATCH 3/3] ARM: dts: imx6dl-yapp4: Add support for OLED based on different controller Michal Vokáč
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Michal Vokáč @ 2020-07-31 12:00 UTC (permalink / raw)
To: Rob Herring, Shawn Guo
Cc: Mark Rutland, Sascha Hauer, Fabio Estevam, devicetree,
linux-kernel, Michal Vokáč
Add devicetree for new variant of the Y Soft IOT appliance.
The board is based on Hydra with the following changes:
- faster SoC (1GHz), 4GB RAM and 64GB eMMC
- removed miniPCIe
- removed Audio jack
- removed uSD slot
- removed RJ10 serial
- HDMI replaced by USB host
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx6dl-yapp4-orion.dts | 50 ++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
create mode 100644 arch/arm/boot/dts/imx6dl-yapp4-orion.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 4572db3fa5ae..eec0d61874a4 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -482,6 +482,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
imx6dl-wandboard-revd1.dtb \
imx6dl-yapp4-draco.dtb \
imx6dl-yapp4-hydra.dtb \
+ imx6dl-yapp4-orion.dtb \
imx6dl-yapp4-ursa.dtb \
imx6q-apalis-eval.dtb \
imx6q-apalis-ixora.dtb \
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-orion.dts b/arch/arm/boot/dts/imx6dl-yapp4-orion.dts
new file mode 100644
index 000000000000..0428720417ef
--- /dev/null
+++ b/arch/arm/boot/dts/imx6dl-yapp4-orion.dts
@@ -0,0 +1,50 @@
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (C) 2020 Y Soft Corporation, a.s.
+
+/dts-v1/;
+
+#include "imx6dl.dtsi"
+#include "imx6dl-yapp4-common.dtsi"
+
+/ {
+ model = "Y Soft IOTA Orion i.MX6DualLite board";
+ compatible = "ysoft,imx6dl-yapp4-orion", "fsl,imx6dl";
+
+ memory@10000000 {
+ device_type = "memory";
+ reg = <0x10000000 0xf0000000>;
+ };
+};
+
+&gpio_oled {
+ status = "okay";
+};
+
+&leds {
+ status = "okay";
+};
+
+&oled {
+ status = "okay";
+};
+
+®_usb_h1_vbus {
+ status = "okay";
+};
+
+&touchkeys {
+ status = "okay";
+};
+
+&uart2 {
+ status = "disabled";
+};
+
+&usbh1 {
+ status = "okay";
+};
+
+&usbphy2 {
+ status = "okay";
+};
--
2.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] ARM: dts: imx6dl-yapp4: Add support for OLED based on different controller
2020-07-31 12:00 [PATCH 1/3] dt-bindings: arm: fsl: Add Y Soft IOTA Orion board Michal Vokáč
2020-07-31 12:00 ` [PATCH 2/3] ARM: dts: imx6dl-yapp4: " Michal Vokáč
@ 2020-07-31 12:00 ` Michal Vokáč
2020-07-31 22:46 ` [PATCH 1/3] dt-bindings: arm: fsl: Add Y Soft IOTA Orion board Rob Herring
2020-08-22 12:21 ` Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Michal Vokáč @ 2020-07-31 12:00 UTC (permalink / raw)
To: Rob Herring, Shawn Guo
Cc: Mark Rutland, Sascha Hauer, Fabio Estevam, devicetree,
linux-kernel, Michal Vokáč
OLED display consist of an OLED panel and a display controller.
The displays that were used on yapp4 platform were based on a SSD1305
controller. These displays are now discontinued and we need to add
support for a replacement.
The new display is based on SSD1309 controller and requires slightly
different configuration (mirror + segment offset). We want to support
both display types so it does no matter which one was used on the assembly
line. Hence the displays are placed at different I2C addresses.
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 15 ++++++++++++++-
arch/arm/boot/dts/imx6dl-yapp4-hydra.dts | 6 +++++-
arch/arm/boot/dts/imx6dl-yapp4-orion.dts | 6 +++++-
3 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index c4a235d212b6..e626bef768bf 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -311,7 +311,20 @@
pinctrl-0 = <&pinctrl_i2c3>;
status = "okay";
- oled: oled@3d {
+ oled_1309: oled@3c {
+ compatible = "solomon,ssd1309fb-i2c";
+ reg = <0x3c>;
+ solomon,height = <64>;
+ solomon,width = <128>;
+ solomon,page-offset = <0>;
+ solomon,segment-no-remap;
+ solomon,prechargep2 = <15>;
+ reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
+ vbat-supply = <&sw2_reg>;
+ status = "disabled";
+ };
+
+ oled_1305: oled@3d {
compatible = "solomon,ssd1305fb-i2c";
reg = <0x3d>;
solomon,height = <64>;
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts b/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts
index 6010d3d872ab..a19609c7c7c0 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts
+++ b/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts
@@ -29,7 +29,11 @@
status = "okay";
};
-&oled {
+&oled_1305 {
+ status = "okay";
+};
+
+&oled_1309 {
status = "okay";
};
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-orion.dts b/arch/arm/boot/dts/imx6dl-yapp4-orion.dts
index 0428720417ef..884b236746bb 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-orion.dts
+++ b/arch/arm/boot/dts/imx6dl-yapp4-orion.dts
@@ -25,7 +25,11 @@
status = "okay";
};
-&oled {
+&oled_1305 {
+ status = "okay";
+};
+
+&oled_1309 {
status = "okay";
};
--
2.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] dt-bindings: arm: fsl: Add Y Soft IOTA Orion board
2020-07-31 12:00 [PATCH 1/3] dt-bindings: arm: fsl: Add Y Soft IOTA Orion board Michal Vokáč
2020-07-31 12:00 ` [PATCH 2/3] ARM: dts: imx6dl-yapp4: " Michal Vokáč
2020-07-31 12:00 ` [PATCH 3/3] ARM: dts: imx6dl-yapp4: Add support for OLED based on different controller Michal Vokáč
@ 2020-07-31 22:46 ` Rob Herring
2020-08-22 12:21 ` Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2020-07-31 22:46 UTC (permalink / raw)
To: Michal Vokáč
Cc: Sascha Hauer, Fabio Estevam, devicetree, Mark Rutland, Shawn Guo,
Rob Herring, linux-kernel
On Fri, 31 Jul 2020 14:00:06 +0200, Michal Vokáč wrote:
> Add devicetree binding for Orion - new board variant in the Y Soft
> IOTA family.
>
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
> ---
> Documentation/devicetree/bindings/arm/fsl.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] dt-bindings: arm: fsl: Add Y Soft IOTA Orion board
2020-07-31 12:00 [PATCH 1/3] dt-bindings: arm: fsl: Add Y Soft IOTA Orion board Michal Vokáč
` (2 preceding siblings ...)
2020-07-31 22:46 ` [PATCH 1/3] dt-bindings: arm: fsl: Add Y Soft IOTA Orion board Rob Herring
@ 2020-08-22 12:21 ` Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2020-08-22 12:21 UTC (permalink / raw)
To: Michal Vokáč
Cc: Rob Herring, Mark Rutland, Sascha Hauer, Fabio Estevam,
devicetree, linux-kernel
On Fri, Jul 31, 2020 at 02:00:06PM +0200, Michal Vokáč wrote:
> Add devicetree binding for Orion - new board variant in the Y Soft
> IOTA family.
>
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Applied all, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread