/dts-v1/; #include #include #include #include #include #include // Reference: https://wiki.lilygo.cc/get_started/en/LoRa_GPS/T-LoraPager/T-LoraPager.html#Pin-Overview / { compatible = "lilygo,tlora-pager"; model = "LilyGO T-Lora Pager"; gpio0 { compatible = "espressif,esp32-gpio"; gpio-count = <49>; }; i2c0 { compatible = "espressif,esp32-i2c"; port = ; clock-frequency = <100000>; pin-sda = <3>; pin-scl = <2>; }; spi0 { compatible = "espressif,esp32-spi"; host = ; pin-mosi = <34>; pin-miso = <33>; pin-sclk = <35>; }; // ES8311 // TODO: init via I2C to enable audio playback i2s0 { compatible = "espressif,esp32-i2s"; port = ; pin-bclk = <11>; pin-ws = <18>; pin-data-out = <45>; pin-data-in = <17>; pin-mclk = <10>; }; uart_internal: uart0 { compatible = "espressif,esp32-uart"; port = ; pin-tx = <12>; pin-rx = <4>; }; uart_external: uart1 { compatible = "espressif,esp32-uart"; port = ; pin-tx = <43>; pin-rx = <44>; }; };