1/*
2 * Copyright (c) 2017, NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include "lpcxpresso54114-pinctrl.dtsi"
8
9/ {
10	aliases{
11		led0 = &red_led;
12		led1 = &green_led;
13		led2 = &blue_led;
14		spi-5 = &flexcomm5;
15		usart-0 = &flexcomm0;
16	};
17
18	leds {
19		compatible = "gpio-leds";
20		red_led: led_0 {
21			gpios = <&gpio0 29 GPIO_PULL_UP>;
22			label = "User LD1";
23			status = "disabled";
24		};
25		green_led: led_1 {
26			gpios = <&gpio1 10 GPIO_PULL_UP>;
27			label = "User LD2";
28			status = "disabled";
29		};
30		blue_led: led_2 {
31			gpios = <&gpio1 9 0>;
32			label = "User LD3";
33			status = "disabled";
34		};
35	};
36};
37
38&flexcomm0 {
39	compatible = "nxp,lpc-usart";
40	current-speed = <115200>;
41	pinctrl-0 = <&pinmux_flexcomm0_usart>;
42	pinctrl-names = "default";
43};
44
45arduino_i2c: &flexcomm4 {
46	compatible = "nxp,lpc-i2c";
47	clock-frequency = <I2C_BITRATE_STANDARD>;
48	#address-cells = <1>;
49	#size-cells = <0>;
50	pinctrl-0 = <&pinmux_flexcomm4_i2c>;
51	pinctrl-names = "default";
52};
53
54arduino_spi: &flexcomm5 {
55	compatible = "nxp,lpc-spi";
56	#address-cells = <1>;
57	#size-cells = <0>;
58	pinctrl-0 = <&pinmux_flexcomm5_spi>;
59	pinctrl-names = "default";
60};
61
62&flash0 {
63	partitions {
64		compatible = "fixed-partitions";
65		#address-cells = <1>;
66		#size-cells = <1>;
67		slot0_partition: partition@0 {
68			label = "image-0";
69			reg = <0x00000000 0x00010000>;
70		};
71		slot1_partition: partition@10000 {
72			label = "image-1";
73			reg = <0x00010000 0x00010000>;
74		};
75	};
76};
77