Lines Matching +full:spi +full:- +full:one +full:- +full:frame
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "esp32c3_rust-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include <zephyr/dt-bindings/led/led.h>
16 model = "Espressif ESP32C3-RUST";
22 zephyr,shell-uart = &usb_serial;
24 zephyr,code-partition = &slot0_partition;
30 i2c-0 = &i2c0;
32 led-strip = &led_strip;
36 compatible = "gpio-keys";
45 compatible = "gpio-leds";
55 #address-cells = <1>;
56 #size-cells = <0>;
58 pinctrl-0 = <&spim2_default>;
59 pinctrl-names = "default";
62 line-idle-low;
66 compatible = "worldsemi,ws2812-spi";
68 /* SPI */
69 reg = <0>; /* ignored, but necessary for SPI bindings */
70 spi-max-frequency = <6400000>;
73 chain-length = <1>; /* arbitrary; change at will */
74 spi-cpha;
75 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
76 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
77 color-mapping = <LED_COLOR_ID_GREEN
90 clock-frequency = <I2C_BITRATE_STANDARD>;
91 pinctrl-0 = <&i2c0_default>;
92 pinctrl-names = "default";
98 accel-hz = <800>;
99 accel-fs = <16>;
100 gyro-hz = <800>;
101 gyro-fs = <2000>;
107 measure-mode = "normal";
108 clock-stretching;