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> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
55 lines
664 B
Plaintext
55 lines
664 B
Plaintext
// 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_1305 {
|
|
status = "okay";
|
|
};
|
|
|
|
&oled_1309 {
|
|
status = "okay";
|
|
};
|
|
|
|
®_usb_h1_vbus {
|
|
status = "okay";
|
|
};
|
|
|
|
&touchkeys {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&usbh1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphy2 {
|
|
status = "okay";
|
|
};
|