blob: 968385622fa5780491722b987e00af7a6e60c877 [file] [log] [blame]
John Clarkd88366e2023-10-13 01:19:22 +00001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2023 John Clark <inindev@gmail.com>
4 *
5 */
6
7#include "rk3588-u-boot.dtsi"
8
John Clarkd88366e2023-10-13 01:19:22 +00009&fspim1_pins {
Jonas Karlmanab956bb2024-04-22 06:28:50 +000010 bootph-pre-ram;
11 bootph-some-ram;
John Clarkd88366e2023-10-13 01:19:22 +000012};
13
14&sfc {
John Clarkd88366e2023-10-13 01:19:22 +000015 pinctrl-names = "default";
16 pinctrl-0 = <&fspim1_pins>;
17 #address-cells = <1>;
18 #size-cells = <0>;
19 status = "okay";
20
21 flash@0 {
John Clarkd88366e2023-10-13 01:19:22 +000022 compatible = "jedec,spi-nor";
23 reg = <0>;
Jonas Karlmanab956bb2024-04-22 06:28:50 +000024 bootph-pre-ram;
25 bootph-some-ram;
John Clarkd88366e2023-10-13 01:19:22 +000026 spi-max-frequency = <24000000>;
27 spi-rx-bus-width = <4>;
28 spi-tx-bus-width = <1>;
29 };
30};