The test targets the following devices at this time. - zephyr,sdmmc-disk - zephyr,mmc-disk Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
38 lines
700 B
Plaintext
38 lines
700 B
Plaintext
/*
|
|
* Copyright (c) 2024 TOKITA Hiroshi
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
test {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
test_gpio: gpio@deadbeef {
|
|
compatible = "vnd,gpio";
|
|
gpio-controller;
|
|
reg = <0xdeadbeef 0x1000>;
|
|
#gpio-cells = <0x2>;
|
|
status = "okay";
|
|
};
|
|
|
|
test_spi: spi@33334444 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "vnd,spi";
|
|
reg = <0x33334444 0x1000>;
|
|
status = "okay";
|
|
clock-frequency = <2000000>;
|
|
|
|
/* one entry for every devices at spi.dtsi */
|
|
cs-gpios = <&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>;
|
|
|
|
#include "spi.dtsi"
|
|
};
|
|
};
|
|
};
|