mirror of
https://gitee.com/open-loongarch/linux-5.10.git
synced 2026-10-25 12:47:11 +08:00
Update dts
This commit is contained in:
@@ -168,6 +168,13 @@
|
||||
};
|
||||
};
|
||||
|
||||
ahci_led_as_gpio:ahci_led_as_gpio {
|
||||
mux {
|
||||
groups ="sata_led";
|
||||
function ="gpio";
|
||||
};
|
||||
};
|
||||
|
||||
pwm0_default:pwm0 {
|
||||
mux {
|
||||
groups ="pwm0";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/dts-v1/;
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/clock/loongson2k300-clock.h>
|
||||
|
||||
/ {
|
||||
@@ -134,6 +135,10 @@
|
||||
pinctrl-single,bits = <0xc 0x0000000f 0x0000000f>;
|
||||
};
|
||||
|
||||
i2c0_G60_G61_pins: pinmux_G60_G61_as_i2c0 {
|
||||
pinctrl-single,bits = <0xc 0x05000000 0x0f000000>;
|
||||
};
|
||||
|
||||
i2c1_pins: pinmux_G50_G51_as_i2c1 {
|
||||
pinctrl-single,bits = <0xc 0x000000f0 0x000000f0>;
|
||||
};
|
||||
@@ -146,10 +151,18 @@
|
||||
pinctrl-single,bits = <0xc 0x00000f00 0x00000f00>;
|
||||
};
|
||||
|
||||
i2c2_G82_G83_pins: pinmux_G82_G83_as_i2c2 {
|
||||
pinctrl-single,bits = <0x14 0x000000a0 0x000000f0>;
|
||||
};
|
||||
|
||||
i2c3_pins: pinmux_G54_G55_as_i2c3 {
|
||||
pinctrl-single,bits = <0xc 0x0000f000 0x0000f000>;
|
||||
};
|
||||
|
||||
i2c3_G84_G85_pins: pinmux_G84_G85_as_i2c3 {
|
||||
pinctrl-single,bits = <0x14 0x00000a00 0x000000f00>;
|
||||
};
|
||||
|
||||
spi1_pins: pinmux_G60_G63_as_spi1 {
|
||||
pinctrl-single,bits = <0xc 0xff000000 0xff000000>;
|
||||
};
|
||||
@@ -692,9 +705,6 @@
|
||||
clock-frequency = <0 200000000>;
|
||||
bus-width = <8>;
|
||||
cap-mmc-highspeed;
|
||||
#if 0 //需要u-boot调整mmc的驱动力,蜂鸟板&先锋派使用uboot-240929之后的版本,可以开启此功能
|
||||
mmc-hs200-1_8v;
|
||||
#endif
|
||||
no-sd;
|
||||
no-sdio;
|
||||
};
|
||||
|
||||
@@ -64,3 +64,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// &emmc {
|
||||
// mmc-hs200-1_8v;
|
||||
// };
|
||||
|
||||
@@ -181,6 +181,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
&emmc {
|
||||
mmc-hs200-1_8v;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "ok"
|
||||
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
};
|
||||
|
||||
&pinmux {
|
||||
gpio_63_60_pins: pinmux_G60_G63_as_gpio {
|
||||
pinctrl-single,bits = <0xc 0x00000000 0xff000000>;
|
||||
};
|
||||
gpio_63_60_pins: pinmux_G60_G63_as_gpio {
|
||||
pinctrl-single,bits = <0xc 0x00000000 0xff000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&gpio {
|
||||
pinctrl-0 = <&gpio_63_60_pins>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gpio_63_60_pins>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
|
||||
Reference in New Issue
Block a user