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 mipi_dbi { 51 compatible = "zephyr,mipi-dbi-spi"; 52 spi-dev = <&spi1>; 53 reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; 54 dc-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 55 #address-cells = <1>; 56 #size-cells = <0>; 57 58 ssd16xx: ssd16xxfb@0 { 59 compatible = "gooddisplay,gdeh0213b1", "solomon,ssd1673"; 60 mipi-max-frequency = <4000000>; 61 reg = <0>; 62 width = <250>; 63 height = <122>; 64 busy-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 65 66 full { 67 gdv = [10 0a]; 68 sdv = [19]; 69 vcom = <0xa8>; 70 border-waveform = <0x71>; 71 dummy-line = <0x1a>; 72 gate-line-width = <0x08>; 73 lut = [ 74 22 55 AA 55 AA 55 AA 11 75 00 00 00 00 00 00 00 00 76 1E 1E 1E 1E 1E 1E 1E 1E 77 01 00 00 00 00 78 ]; 79 }; 80 81 partial { 82 gdv = [10 0a]; 83 sdv = [19]; 84 vcom = <0xa8>; 85 border-waveform = <0x71>; 86 dummy-line = <0x1a>; 87 gate-line-width = <0x08>; 88 lut = [ 89 18 00 00 00 00 00 00 00 90 00 00 00 00 00 00 00 00 91 0F 01 00 00 00 00 00 00 92 00 00 00 00 00 93 ]; 94 }; 95 }; 96 }; 97}; 98 99&spi1 { 100 compatible = "nordic,nrf-spi"; 101 status = "okay"; 102 cs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; 103 104 pinctrl-0 = <&spi1_default>; 105 pinctrl-1 = <&spi1_sleep>; 106 pinctrl-names = "default", "sleep"; 107}; 108