n60pro: add default usb packages
This commit is contained in:
parent
2be0c325b2
commit
1213e8d674
@ -16,10 +16,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &led_status_red;
|
led-boot = &led_power;
|
||||||
led-failsafe = &led_status_red;
|
led-failsafe = &led_power;
|
||||||
led-running = &led_status_blue;
|
led-running = &led_power;
|
||||||
led-upgrade = &led_status_blue;
|
led-upgrade = &led_power;
|
||||||
};
|
};
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
@ -45,15 +45,36 @@
|
|||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_status_red: status_red {
|
led-0 {
|
||||||
label = "red:status";
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
gpios = <&pio 29 GPIO_ACTIVE_LOW>;
|
function = LED_FUNCTION_WLAN;
|
||||||
};
|
gpios = <&pio 1 GPIO_ACTIVE_LOW>;
|
||||||
|
linux,default-trigger = "phy1tpt";
|
||||||
led_status_blue: status_blue {
|
};
|
||||||
label = "blue:status";
|
|
||||||
gpios = <&pio 32 GPIO_ACTIVE_LOW>;
|
led_power: led-1 {
|
||||||
};
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
|
function = LED_FUNCTION_POWER;
|
||||||
|
gpios = <&pio 29 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led-2 {
|
||||||
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
|
function = LED_FUNCTION_USB;
|
||||||
|
gpios = <&pio 30 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led-3 {
|
||||||
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
|
function = LED_FUNCTION_WPS;
|
||||||
|
gpios = <&pio 31 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
|
||||||
|
led-4 {
|
||||||
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
|
function = LED_FUNCTION_WAN;
|
||||||
|
gpios = <&pio 32 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nmbm_spim_nand {
|
nmbm_spim_nand {
|
||||||
|
@ -517,7 +517,8 @@ define Device/netcore_n60-pro
|
|||||||
DEVICE_DTS := mt7986a-netcore-n60-pro
|
DEVICE_DTS := mt7986a-netcore-n60-pro
|
||||||
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
|
DEVICE_DTS_DIR := $(DTS_DIR)/mediatek
|
||||||
SUPPORTED_DEVICES := netcore,n60-pro
|
SUPPORTED_DEVICES := netcore,n60-pro
|
||||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7986-firmware mt7986-wo-firmware
|
DEVICE_PACKAGES := $(MT7986_USB_PKGS) f2fsck losetup mkf2fs kmod-fs-f2fs kmod-mmc \
|
||||||
|
luci-app-ksmbd luci-i18n-ksmbd-zh-cn ksmbd-utils
|
||||||
UBINIZE_OPTS := -E 5
|
UBINIZE_OPTS := -E 5
|
||||||
BLOCKSIZE := 128k
|
BLOCKSIZE := 128k
|
||||||
PAGESIZE := 2048
|
PAGESIZE := 2048
|
||||||
|
Loading…
x
Reference in New Issue
Block a user