2018-07-24 20:09:17 +08:00
|
|
|
/*
|
2019-07-10 01:18:39 +08:00
|
|
|
* Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
|
2018-07-24 20:09:17 +08:00
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2018-09-15 12:47:30 +08:00
|
|
|
#include <nordic/nrf52840_qiaa.dtsi>
|
2019-07-10 01:18:39 +08:00
|
|
|
#include "reel_board.dtsi"
|
2018-07-24 20:09:17 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "reel board";
|
2020-04-29 00:56:02 +08:00
|
|
|
compatible = "phytec,reel_board";
|
2018-07-24 20:09:17 +08:00
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &uart0;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &uart0;
|
2018-07-24 20:09:17 +08:00
|
|
|
zephyr,uart-mcumgr = &uart0;
|
2019-03-19 01:11:31 +08:00
|
|
|
zephyr,bt-mon-uart = &uart0;
|
2019-06-20 20:49:15 +08:00
|
|
|
zephyr,bt-c2h-uart = &uart0;
|
2018-07-24 20:09:17 +08:00
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
2018-11-15 23:36:41 +08:00
|
|
|
zephyr,code-partition = &slot0_partition;
|
2018-07-24 20:09:17 +08:00
|
|
|
};
|
2019-11-28 16:42:16 +08:00
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
back_led: led_3 {
|
2020-01-23 22:14:39 +08:00
|
|
|
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
2019-11-28 16:42:16 +08:00
|
|
|
label = "User D13 green";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwmleds {
|
|
|
|
compatible = "pwm-leds";
|
|
|
|
back_pwm_led: pwm_led_3 {
|
|
|
|
pwms = <&pwm0 13>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led3 = &back_led;
|
|
|
|
pwm-led3 = &back_pwm_led;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pwm0 {
|
|
|
|
ch0-inverted;
|
2018-07-24 20:09:17 +08:00
|
|
|
};
|
|
|
|
|
2019-10-19 09:08:45 +08:00
|
|
|
&spi1 {
|
|
|
|
compatible = "nordic,nrf-spi";
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-09-04 21:03:58 +08:00
|
|
|
sck-pin = <19>;
|
|
|
|
mosi-pin = <20>;
|
|
|
|
miso-pin = <21>;
|
2020-07-06 20:48:55 +08:00
|
|
|
cs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
2018-09-12 23:51:39 +08:00
|
|
|
|
2019-07-04 05:40:38 +08:00
|
|
|
ssd16xxfb@0 {
|
2019-07-10 01:18:39 +08:00
|
|
|
compatible = "solomon,ssd16xxfb", "gooddisplay,gdeh0213b1";
|
2019-07-04 05:40:38 +08:00
|
|
|
label = "SSD16XX";
|
2018-09-12 23:51:39 +08:00
|
|
|
spi-max-frequency = <4000000>;
|
|
|
|
reg = <0>;
|
|
|
|
width = <250>;
|
2020-05-07 23:54:54 +08:00
|
|
|
height = <122>;
|
2019-01-31 17:26:00 +08:00
|
|
|
pp-width-bits = <8>;
|
|
|
|
pp-height-bits = <8>;
|
2019-12-30 00:06:18 +08:00
|
|
|
reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
|
|
|
|
dc-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
|
|
|
|
busy-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
2019-07-08 21:05:12 +08:00
|
|
|
gdv = [10 0a];
|
|
|
|
sdv = [19];
|
2019-02-05 00:09:53 +08:00
|
|
|
vcom = <0xa8>;
|
|
|
|
border-waveform = <0x71>;
|
2019-07-08 21:05:12 +08:00
|
|
|
lut-initial = [
|
|
|
|
22 55 AA 55 AA 55 AA 11
|
|
|
|
00 00 00 00 00 00 00 00
|
|
|
|
1E 1E 1E 1E 1E 1E 1E 1E
|
|
|
|
01 00 00 00 00
|
|
|
|
];
|
|
|
|
lut-default = [
|
|
|
|
18 00 00 00 00 00 00 00
|
|
|
|
00 00 00 00 00 00 00 00
|
|
|
|
0F 01 00 00 00 00 00 00
|
|
|
|
00 00 00 00 00
|
|
|
|
];
|
2018-09-12 23:51:39 +08:00
|
|
|
};
|
2018-09-04 21:03:58 +08:00
|
|
|
};
|