forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mediatek: generate bootloader artifacts for mt7988_rfb
Switch to OpenWrt uImage.FIT bootmethod and include various bootloader artifacts with the generated binaries. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
- Loading branch information
Showing
34 changed files
with
1,919 additions
and
549 deletions.
There are no files selected for viewing
134 changes: 0 additions & 134 deletions
134
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-spim-nand.dts
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-rfb-emmc.dtso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* | ||
* Copyright (C) 2021 MediaTek Inc. | ||
* Author: Frank Wunderlich <frank-w@public-files.de> | ||
*/ | ||
|
||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a"; | ||
|
||
fragment@0 { | ||
target = <&mmc0>; | ||
__overlay__ { | ||
pinctrl-names = "default", "state_uhs"; | ||
pinctrl-0 = <&mmc0_pins_emmc_51>; | ||
pinctrl-1 = <&mmc0_pins_emmc_51>; | ||
bus-width = <8>; | ||
max-frequency = <200000000>; | ||
cap-mmc-highspeed; | ||
mmc-hs200-1_8v; | ||
mmc-hs400-1_8v; | ||
hs400-ds-delay = <0x12814>; | ||
vqmmc-supply = <®_1p8v>; | ||
vmmc-supply = <®_3p3v>; | ||
non-removable; | ||
no-sd; | ||
no-sdio; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; |
41 changes: 41 additions & 0 deletions
41
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-rfb-eth1-aqr.dtso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* | ||
* Copyright (C) 2022 MediaTek Inc. | ||
* Author: Sam.Shih <sam.shih@mediatek.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/gpio/gpio.h> | ||
|
||
/ { | ||
compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a"; | ||
|
||
fragment@0 { | ||
target = <&mdio_bus>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
/* external Aquantia AQR113C */ | ||
phy0: ethernet-phy@0 { | ||
reg = <0>; | ||
compatible = "ethernet-phy-ieee802.3-c45"; | ||
reset-gpios = <&pio 72 GPIO_ACTIVE_LOW>; | ||
reset-assert-us = <100000>; | ||
reset-deassert-us = <221000>; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&gmac1>; | ||
__overlay__ { | ||
phy-mode = "usxgmii"; | ||
phy-connection-type = "usxgmii"; | ||
phy = <&phy0>; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; |
30 changes: 30 additions & 0 deletions
30
...et/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-rfb-eth1-i2p5g-phy.dtso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* | ||
* Copyright (C) 2022 MediaTek Inc. | ||
* Author: Sam.Shih <sam.shih@mediatek.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a"; | ||
|
||
fragment@0 { | ||
target = <&gmac1>; | ||
__overlay__ { | ||
phy-mode = "internal"; | ||
phy-connection-type = "internal"; | ||
phy = <&int_2p5g_phy>; | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&int_2p5g_phy>; | ||
__overlay__ { | ||
pinctrl-names = "i2p5gbe-led"; | ||
pinctrl-0 = <&i2p5gbe_led0_pins>; | ||
}; | ||
}; | ||
}; |
39 changes: 39 additions & 0 deletions
39
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-rfb-eth1-mxl.dtso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* | ||
* Copyright (C) 2022 MediaTek Inc. | ||
* Author: Sam.Shih <sam.shih@mediatek.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/gpio/gpio.h> | ||
|
||
/ { | ||
compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a"; | ||
|
||
fragment@0 { | ||
target = <&mdio_bus>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
/* external Maxlinear GPY211C */ | ||
phy13: ethernet-phy@13 { | ||
reg = <13>; | ||
compatible = "ethernet-phy-ieee802.3-c45"; | ||
phy-mode = "2500base-x"; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&gmac1>; | ||
__overlay__ { | ||
phy-mode = "2500base-x"; | ||
phy-connection-type = "2500base-x"; | ||
phy = <&phy13>; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; |
47 changes: 47 additions & 0 deletions
47
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-rfb-eth1-sfp.dtso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* | ||
* Copyright (C) 2022 MediaTek Inc. | ||
* Author: Sam.Shih <sam.shih@mediatek.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/gpio/gpio.h> | ||
|
||
/ { | ||
compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a"; | ||
|
||
fragment@0 { | ||
target = <&i2c2>; | ||
__overlay__ { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&i2c2_0_pins>; | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target-path = "/"; | ||
__overlay__ { | ||
sfp_esp1: sfp@1 { | ||
compatible = "sff,sfp"; | ||
i2c-bus = <&i2c2>; | ||
mod-def0-gpios = <&pio 82 GPIO_ACTIVE_LOW>; | ||
los-gpios = <&pio 81 GPIO_ACTIVE_HIGH>; | ||
tx-disable-gpios = <&pio 36 GPIO_ACTIVE_HIGH>; | ||
maximum-power-milliwatt = <3000>; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@2 { | ||
target = <&gmac1>; | ||
__overlay__ { | ||
phy-mode = "10gbase-r"; | ||
managed = "in-band-status"; | ||
sfp = <&sfp_esp1>; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; |
41 changes: 41 additions & 0 deletions
41
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7988a-rfb-eth2-aqr.dtso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* | ||
* Copyright (C) 2022 MediaTek Inc. | ||
* Author: Sam.Shih <sam.shih@mediatek.com> | ||
*/ | ||
|
||
/dts-v1/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/gpio/gpio.h> | ||
|
||
/ { | ||
compatible = "mediatek,mt7988a-rfb", "mediatek,mt7988a"; | ||
|
||
fragment@0 { | ||
target = <&mdio_bus>; | ||
__overlay__ { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
/* external Aquantia AQR113C */ | ||
phy8: ethernet-phy@8 { | ||
reg = <8>; | ||
compatible = "ethernet-phy-ieee802.3-c45"; | ||
reset-gpios = <&pio 71 GPIO_ACTIVE_LOW>; | ||
reset-assert-us = <100000>; | ||
reset-deassert-us = <221000>; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&gmac2>; | ||
__overlay__ { | ||
phy-mode = "usxgmii"; | ||
phy-connection-type = "usxgmii"; | ||
phy = <&phy8>; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.