1/* 2 * Copyright (c) 2024 Philip-Dylan Gleonec <philip-dylan@gleonec.bzh> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 aliases { 9 rtc = &rtc0_adafruit_adalogger_featherwing; 10 sdhc0 = &sdhc0_adafruit_adalogger_featherwing; 11 }; 12}; 13 14&feather_spi { 15 status = "okay"; 16 cs-gpios = <&feather_header 17 GPIO_ACTIVE_LOW>; /* D10 */ 17 18 sdhc0_adafruit_adalogger_featherwing: sdhc@0 { 19 compatible = "zephyr,sdhc-spi-slot"; 20 reg = <0>; 21 spi-max-frequency = <12000000>; 22 status = "okay"; 23 24 sdmmc { 25 compatible = "zephyr,sdmmc-disk"; 26 status = "okay"; 27 }; 28 }; 29}; 30 31&feather_i2c { 32 status = "okay"; 33 34 rtc0_adafruit_adalogger_featherwing: rtc@68 { 35 compatible = "nxp,pcf8523"; 36 reg = <0x68>; 37 alarms-count = <1>; 38 battery-switch-over = "standard"; 39 status = "okay"; 40 }; 41}; 42