// SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* * Copyright (C) 2023 Tianling Shen */ /dts-v1/; #include "mt7981b-jcg-q30.dts" / { model = "JCG Q30 (custom U-Boot layout)"; compatible = "jcg,q30-ubootmod", "mediatek,mt7981"; }; &spi_nand { mediatek,nmbm; mediatek,bmt-max-ratio = <1>; mediatek,bmt-max-reserved-blocks = <64>; spi-cal-enable; spi-cal-mode = "read-data"; spi-cal-datalen = <7>; spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4E 0x41 0x4E 0x44>; spi-cal-addrlen = <5>; spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>; }; &spi0_flash_pins { conf-pu { /delete-property/ mediatek,pull-up-adv; bias-pull-up = ; }; conf-pd { /delete-property/ mediatek,pull-up-adv; bias-pull-up = ; }; }; &ubi { reg = <0x580000 0x6e80000>; };