1/dts-v1/; 2#include <ambiq/ambiq_apollo4p.dtsi> 3 4#include "apollo4p_evb-pinctrl.dtsi" 5 6/ { 7 model = "Ambiq Apollo4 Plus evaluation board"; 8 compatible = "ambiq,apollo4p_evb"; 9 10 chosen { 11 zephyr,itcm = &tcm; 12 zephyr,sram = &sram0; 13 zephyr,flash = &flash0; 14 zephyr,console = &uart0; 15 zephyr,shell-uart = &uart0; 16 zephyr,uart-pipe = &uart0; 17 }; 18 19 aliases { 20 watchdog0 = &wdt0; 21 led0 = &led0; 22 led1 = &led1; 23 led2 = &led2; 24 sw0 = &button0; 25 sw1 = &button1; 26 }; 27 28 leds { 29 compatible = "gpio-leds"; 30 led0: led_0 { 31 gpios = <&gpio0_31 30 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 32 label = "LED 0"; 33 }; 34 led1: led_1 { 35 gpios = <&gpio64_95 26 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 36 label = "LED 1"; 37 }; 38 led2: led_2 { 39 gpios = <&gpio96_127 1 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 40 label = "LED 2"; 41 }; 42 }; 43 44 buttons { 45 compatible = "gpio-keys"; 46 button0: button_0 { 47 gpios = <&gpio0_31 18 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 48 label = "BTN0"; 49 }; 50 button1: button_1 { 51 gpios = <&gpio0_31 19 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 52 label = "BTN1"; 53 }; 54 }; 55}; 56 57&uart0 { 58 current-speed = <115200>; 59 pinctrl-0 = <&uart0_default>; 60 pinctrl-names = "default"; 61 status = "okay"; 62}; 63 64&counter0 { 65 status = "okay"; 66}; 67 68&wdt0 { 69 status = "okay"; 70}; 71 72&iom0_i2c { 73 compatible = "ambiq,i2c"; 74 pinctrl-0 = <&i2c0_default>; 75 pinctrl-names = "default"; 76 clock-frequency = <I2C_BITRATE_STANDARD>; 77 status = "okay"; 78}; 79 80&iom1_spi { 81 compatible = "ambiq,spi"; 82 pinctrl-0 = <&spi1_default>; 83 pinctrl-names = "default"; 84 clock-frequency = <1000000>; 85 status = "okay"; 86}; 87 88&mspi0 { 89 pinctrl-0 = <&mspi0_default>; 90 pinctrl-names = "default"; 91 status = "okay"; 92}; 93 94&mspi1 { 95 pinctrl-0 = <&mspi1_default>; 96 pinctrl-names = "default"; 97 status = "okay"; 98}; 99 100&mspi2 { 101 pinctrl-0 = <&mspi2_default>; 102 pinctrl-names = "default"; 103 status = "okay"; 104}; 105 106&gpio0_31 { 107 status = "okay"; 108}; 109 110&gpio32_63 { 111 status = "okay"; 112}; 113 114&gpio64_95 { 115 status = "okay"; 116}; 117 118&gpio96_127 { 119 status = "okay"; 120}; 121