/* * Copyright (c) 2019 Interay Solutions B.V. * Copyright (c) 2019 Oane Kingma * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include #include "slstk3701a-pinctrl.dtsi" / { model = "Silicon Labs EFM32GG11 SLSTK3701A board"; compatible = "silabs,slstk3701a", "silabs,efm32gg11b"; chosen { zephyr,console = &usart4; zephyr,shell-uart = &usart4; zephyr,sram = &sram0; zephyr,flash = &flash0; }; /* These aliases are provided for compatibility with samples */ aliases { led0 = &led0; led1 = &led1; sw0 = &button0; sw1 = &button1; watchdog0 = &wdog0; }; leds { compatible = "gpio-leds"; led0: led_0 { gpios = <&gpioh 10 GPIO_ACTIVE_LOW>; label = "LED 0"; }; led1: led_1 { gpios = <&gpioh 13 GPIO_ACTIVE_LOW>; label = "LED 1"; }; }; buttons { compatible = "gpio-keys"; button0: button_0 { /* gpio flags need validation */ gpios = <&gpioc 8 GPIO_ACTIVE_LOW>; label = "User Push Button 0"; zephyr,code = ; }; button1: button_1 { /* gpio flags need validation */ gpios = <&gpioc 9 GPIO_ACTIVE_LOW>; label = "User Push Button 1"; zephyr,code = ; }; }; }; &usart0 { current-speed = <115200>; pinctrl-0 = <&usart0_default>; pinctrl-names = "default"; status = "okay"; }; &usart4 { current-speed = <115200>; pinctrl-0 = <&usart4_default>; pinctrl-names = "default"; status = "okay"; }; &leuart0 { current-speed = <9600>; location-rx = ; location-tx = ; status = "okay"; }; &i2c0 { pinctrl-0 = <&i2c0_default>; pinctrl-names = "default"; status = "okay"; }; &i2c1 { pinctrl-0 = <&i2c1_default>; pinctrl-names = "default"; status = "okay"; }; &i2c2 { pinctrl-0 = <&i2c2_default>; pinctrl-names = "default"; status = "okay"; }; &rtcc0 { prescaler = <1>; status = "okay"; }; &gpio { location-swo = <0>; status = "okay"; }; &gpioa { status = "okay"; }; &gpiob { status = "okay"; }; &gpioc { status = "okay"; }; &gpiod { status = "okay"; }; &gpioe { status = "okay"; board-controller-enable { gpio-hog; gpios = <1 GPIO_ACTIVE_HIGH>; output-high; }; }; &gpiof { status = "okay"; }; &gpiog { status = "okay"; }; &gpioh { status = "okay"; }; &gpioi { status = "okay"; }; ð0 { /* PHY address = 0 */ phy-address = <0>; /* PHY management pins */ location-mdio = ; location-phy_mdc = ; location-phy_mdio = ; /* RMII interface pins */ location-rmii = ; location-rmii_refclk = ; location-rmii_crs_dv = ; location-rmii_txd0 = ; location-rmii_txd1 = ; location-rmii_tx_en = ; location-rmii_rxd0 = ; location-rmii_rxd1 = ; location-rmii_rx_er = ; status = "okay"; }; &flash0 { partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; /* Set 12Kb of storage at the end of the 2048Kb of flash */ storage_partition: partition@1fd000 { label = "storage"; reg = <0x001fd000 0x00003000>; }; }; }; &wdog0 { status = "okay"; }; &trng0 { status = "okay"; }; &cpu0 { clock-frequency = <72000000>; };