/dts-v1/; #include #include #include #include #include #include #include #include #include #include / { compatible = "root"; model = "Guition JC3248W535C"; wifi0 { compatible = "espressif,esp32-wifi-pinned"; status = "disabled"; }; ble0 { compatible = "espressif,esp32-ble"; status = "disabled"; }; gpio0 { compatible = "espressif,esp32-gpio"; gpio-count = <49>; }; i2c_internal: i2c0 { compatible = "espressif,esp32-i2c"; port = ; clock-frequency = <400000>; pin-sda = <&gpio0 4 GPIO_FLAG_NONE>; pin-scl = <&gpio0 8 GPIO_FLAG_NONE>; }; i2c_external: i2c1 { compatible = "espressif,esp32-i2c"; port = ; clock-frequency = <400000>; pin-sda = <&gpio0 17 GPIO_FLAG_NONE>; pin-scl = <&gpio0 18 GPIO_FLAG_NONE>; }; i2s0 { compatible = "espressif,esp32-i2s"; port = ; pin-bclk = <&gpio0 42 GPIO_FLAG_NONE>; pin-ws = <&gpio0 2 GPIO_FLAG_NONE>; pin-data-out = <&gpio0 41 GPIO_FLAG_NONE>; }; spi0 { compatible = "espressif,esp32-spi"; host = ; cs-gpios = <&gpio0 45 GPIO_FLAG_NONE>; pin-mosi = <&gpio0 21 GPIO_FLAG_NONE>; pin-miso = <&gpio0 48 GPIO_FLAG_NONE>; pin-sclk = <&gpio0 47 GPIO_FLAG_NONE>; pin-wp = <&gpio0 40 GPIO_FLAG_NONE>; pin-hd = <&gpio0 39 GPIO_FLAG_NONE>; display { compatible = "display-placeholder"; }; }; spi1 { compatible = "espressif,esp32-spi"; host = ; cs-gpios = <&gpio0 10 GPIO_FLAG_NONE>; pin-mosi = <&gpio0 11 GPIO_FLAG_NONE>; pin-miso = <&gpio0 13 GPIO_FLAG_NONE>; pin-sclk = <&gpio0 12 GPIO_FLAG_NONE>; sdcard@0 { compatible = "espressif,esp32-sdspi"; frequency-khz = <20000>; }; }; // P1 header uart0 { compatible = "espressif,esp32-uart"; port = ; pin-tx = <&gpio0 43 GPIO_FLAG_NONE>; pin-rx = <&gpio0 44 GPIO_FLAG_NONE>; }; };