1/* 2 * Copyright (c) 2020 Seagate Technology LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <nxp/nxp_lpc11u67.dtsi> 10#include <zephyr/dt-bindings/led/led.h> 11#include <zephyr/dt-bindings/input/input-event-codes.h> 12 13#include "faze-pinctrl.dtsi" 14 15/ { 16 model = "Seagate FireCuda Gaming SSD (FaZe)"; 17 compatible = "faze", "seagate,faze"; 18 19 chosen { 20 zephyr,sram = &sram0; 21 zephyr,flash = &flash0; 22 zephyr,console = &uart0; 23 zephyr,shell-uart = &uart0; 24 }; 25 26 /* These aliases are provided for compatibility with samples. */ 27 aliases { 28 led0 = &sata_led; 29 sw0 = &usb_sleep_button; 30 eeprom-0 = &eeprom0; 31 led-controller-0 = &led_controller_0; 32 }; 33 34 gpio_keys { 35 compatible = "gpio-keys"; 36 37 /* Handle the USB_SLEEP GPIO as a button. */ 38 usb_sleep_button: button_0 { 39 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; 40 label = "USB sleep button"; 41 zephyr,code = <INPUT_KEY_SLEEP>; 42 }; 43 }; 44 45 leds { 46 compatible = "gpio-leds"; 47 48 sata_led: led_0 { 49 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; 50 label = "SSD activity LED"; 51 }; 52 }; 53}; 54 55&uart0 { 56 pinctrl-0 = <&uart0_default>; 57 pinctrl-names = "default"; 58 current-speed = <115200>; 59 status = "okay"; 60}; 61 62&i2c0 { 63 pinctrl-0 = <&i2c0_default>; 64 pinctrl-1 = <&i2c0_fast>; 65 pinctrl-names = "default", "fast-plus"; 66 status = "okay"; 67 68 asm2364: asm2364@30 { 69 compatible = "asmedia,asm2364"; 70 int-gpios = <&gpio0 2 0>; 71 reg = <0x30>; 72 }; 73}; 74 75&i2c1 { 76 pinctrl-0 = <&i2c1_default>; 77 pinctrl-1 = <&i2c1_fast>; 78 pinctrl-names = "default", "fast-plus"; 79 status = "okay"; 80 81 /* TI LP5030 LED controller connected to I2C1. */ 82 led_controller_0: lp5030@30 { 83 compatible = "ti,lp5030"; 84 reg = <0x30>; 85 86 led0: led_0 { 87 label = "LED LP5030 0"; 88 index = <0>; 89 color-mapping = 90 <LED_COLOR_ID_RED>, 91 <LED_COLOR_ID_GREEN>, 92 <LED_COLOR_ID_BLUE>; 93 }; 94 led1: led_1 { 95 label = "LED LP5030 1"; 96 index = <1>; 97 color-mapping = 98 <LED_COLOR_ID_RED>, 99 <LED_COLOR_ID_GREEN>, 100 <LED_COLOR_ID_BLUE>; 101 }; 102 led2: led_2 { 103 label = "LED LP5030 2"; 104 index = <2>; 105 color-mapping = 106 <LED_COLOR_ID_RED>, 107 <LED_COLOR_ID_GREEN>, 108 <LED_COLOR_ID_BLUE>; 109 }; 110 led3: led_3 { 111 label = "LED LP5030 3"; 112 index = <3>; 113 color-mapping = 114 <LED_COLOR_ID_RED>, 115 <LED_COLOR_ID_GREEN>, 116 <LED_COLOR_ID_BLUE>; 117 }; 118 led4: led_4 { 119 label = "LED LP5030 4"; 120 index = <4>; 121 color-mapping = 122 <LED_COLOR_ID_RED>, 123 <LED_COLOR_ID_GREEN>, 124 <LED_COLOR_ID_BLUE>; 125 }; 126 led5: led_5 { 127 label = "LED LP5030 5"; 128 index = <5>; 129 color-mapping = 130 <LED_COLOR_ID_RED>, 131 <LED_COLOR_ID_GREEN>, 132 <LED_COLOR_ID_BLUE>; 133 }; 134 }; 135}; 136 137&syscon { 138 pinctrl-0 = <&syscon_default>; 139 pinctrl-names = "default"; 140}; 141 142&cpu0 { 143 clock-frequency = <48000000>; 144}; 145 146&gpio0 { 147 status = "okay"; 148}; 149 150&gpio1 { 151 status = "okay"; 152}; 153 154&gpio2 { 155 status = "okay"; 156}; 157