0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
0004 */
0005
0006 &gpio {
0007 cs14_pins: cs14-pins {
0008 pins = "GPIO_44";
0009 function = "si";
0010 };
0011 };
0012
0013 &spi0 {
0014 pinctrl-0 = <&si2_pins>;
0015 pinctrl-names = "default";
0016 spi@e {
0017 compatible = "spi-mux";
0018 mux-controls = <&mux>;
0019 #address-cells = <1>;
0020 #size-cells = <0>;
0021 reg = <14>; /* CS14 */
0022 flash@6 {
0023 compatible = "spi-nand";
0024 pinctrl-0 = <&cs14_pins>;
0025 pinctrl-names = "default";
0026 reg = <0x6>; /* SPI2 */
0027 spi-max-frequency = <42000000>;
0028 rx-sample-delay-ns = <7>; /* Tune for speed */
0029 };
0030 };
0031 };