hc
2025-02-14 bbb9540dc49f70f6b703d1c8d1b85fa5f602d86e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
 */
 
#include "rv1126-thunder-boot.dtsi"
 
/ {
   thunder_boot_spi_nor: thunder-boot-spi-nor {
       compatible = "rockchip,thunder-boot-sfc";
       reg = <0xffc90000 0x4000>;
       memory-region-src = <&ramdisk_c>;
       memory-region-dst = <&ramdisk_r>;
   };
};
 
&sfc {
   status = "okay";
 
   flash@0 {
       compatible = "jedec,spi-nor";
       reg = <0>;
       spi-max-frequency = <108000000>;
       spi-rx-bus-width = <2>;
       spi-tx-bus-width = <2>;
   };
};