1/* 2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH 3 * Copyright (c) 2017 Linaro Limited 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8/dts-v1/; 9#include <nordic/nrf52840_qiaa.dtsi> 10#include "reel_board.dtsi" 11#include "reel_board-pinctrl.dtsi" 12 13/ { 14 model = "reel board"; 15 compatible = "phytec,reel_board"; 16 17 chosen { 18 zephyr,console = &uart0; 19 zephyr,shell-uart = &uart0; 20 zephyr,uart-mcumgr = &uart0; 21 zephyr,bt-mon-uart = &uart0; 22 zephyr,bt-c2h-uart = &uart0; 23 zephyr,sram = &sram0; 24 zephyr,flash = &flash0; 25 zephyr,code-partition = &slot0_partition; 26 zephyr,display = &ssd16xx; 27 }; 28 29 leds { 30 compatible = "gpio-leds"; 31 back_led: led_3 { 32 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 33 label = "User D13 green"; 34 }; 35 }; 36 37 pwmleds { 38 compatible = "pwm-leds"; 39 back_pwm_led: pwm_led_3 { 40 pwms = <&pwm0 0 PWM_MSEC(20) PWM_POLARITY_INVERTED>; 41 }; 42 }; 43 44 aliases { 45 led3 = &back_led; 46 pwm-led3 = &back_pwm_led; 47 watchdog0 = &wdt0; 48 }; 49}; 50 51&spi1 { 52 compatible = "nordic,nrf-spi"; 53 status = "okay"; 54 cs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; 55 56 pinctrl-0 = <&spi1_default>; 57 pinctrl-1 = <&spi1_sleep>; 58 pinctrl-names = "default", "sleep"; 59 ssd16xx: ssd16xxfb@0 { 60 compatible = "gooddisplay,gdeh0213b1", "solomon,ssd1673"; 61 spi-max-frequency = <4000000>; 62 reg = <0>; 63 width = <250>; 64 height = <122>; 65 reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; 66 dc-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; 67 busy-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 68 69 full { 70 gdv = [10 0a]; 71 sdv = [19]; 72 vcom = <0xa8>; 73 border-waveform = <0x71>; 74 dummy-line = <0x1a>; 75 gate-line-width = <0x08>; 76 lut = [ 77 22 55 AA 55 AA 55 AA 11 78 00 00 00 00 00 00 00 00 79 1E 1E 1E 1E 1E 1E 1E 1E 80 01 00 00 00 00 81 ]; 82 }; 83 84 partial { 85 gdv = [10 0a]; 86 sdv = [19]; 87 vcom = <0xa8>; 88 border-waveform = <0x71>; 89 dummy-line = <0x1a>; 90 gate-line-width = <0x08>; 91 lut = [ 92 18 00 00 00 00 00 00 00 93 00 00 00 00 00 00 00 00 94 0F 01 00 00 00 00 00 00 95 00 00 00 00 00 96 ]; 97 }; 98 }; 99}; 100