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