1/*
2 * Copyright (c) 2022 Microchip Technology Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&spi0 {
8	status = "okay";
9	compatible = "microchip,xec-qmspi-ldma";
10	clock-frequency = <24000000>;
11	lines = <4>;
12	chip-select = <0>;
13
14	pinctrl-0 = < &shd_cs0_n_gpio055
15		      &shd_clk_gpio056
16		      &shd_io0_gpio223
17		      &shd_io1_gpio224
18		      &shd_io2_gpio227
19		      &shd_io3_gpio016 >;
20	pinctrl-names = "default";
21
22	spi1_cs0_flash: w25q128@0 {
23		compatible = "jedec,spi-nor";
24		/* 134217728 bits = 16 Mbytes */
25		size = <0x8000000>;
26		reg = <0>;
27		spi-max-frequency = <24000000>;
28		jedec-id = [ef 40 18];
29		status = "okay";
30	};
31};
32
33&shd_cs0_n_gpio055 {
34	drive-open-drain;
35	output-high;
36};
37