-
Notifications
You must be signed in to change notification settings - Fork 235
enabled fiq debug & fix wifi/bt issue & fix gmac issue & enabled CONFIG_CPU_RK3308 #578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: linux-6.1-stan-rkr5.1
Are you sure you want to change the base?
Changes from all commits
4758c65
32f80f9
484bf00
839b79b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ | |
| }; | ||
|
|
||
| chosen { | ||
| stdout-path = "serial0:1500000n8"; | ||
| bootargs = "root=UUID=bbc884d7-bf5a-4713-9301-03dbb8cacab0 earlycon=uart8250,mmio32,0xff0a0000 swiotlb=1 kpti=0 console=ttyFIQ0 rw rootwait coherent_pool=1m"; | ||
| }; | ||
|
|
||
| leds { | ||
|
|
@@ -129,6 +129,11 @@ | |
| }; | ||
| }; | ||
|
|
||
| &fiq_debugger{ | ||
| rockchip,serial-id = <0>; | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &cpu0 { | ||
| cpu-supply = <&vdd_core>; | ||
| }; | ||
|
|
@@ -144,10 +149,22 @@ | |
| status = "okay"; | ||
| }; | ||
|
|
||
| &io_domains { | ||
| status = "okay"; | ||
| vccio0-supply = <&vcc_io>; | ||
| vccio1-supply = <&vcc_io>; | ||
| vccio2-supply = <&vcc_1v8>; | ||
| vccio3-supply = <&vcc_1v8>; | ||
| vccio4-supply = <&vcc_1v8>; | ||
| vccio5-supply = <&vcc_io>; | ||
| }; | ||
|
|
||
| &gmac { | ||
| clock_in_out = "output"; | ||
| phy-handle = <&rtl8201f>; | ||
| phy-supply = <&vcc_io>; | ||
| tx_delay = <0x30>; | ||
| rx_delay = <0x10>; | ||
| status = "okay"; | ||
|
|
||
| mdio { | ||
|
|
@@ -235,23 +252,21 @@ | |
| &sdio { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
| max-frequency = <150000000>; | ||
| bus-width = <4>; | ||
| cap-sd-highspeed; | ||
| cap-sdio-irq; | ||
| keep-power-in-suspend; | ||
| max-frequency = <100000000>; | ||
| mmc-pwrseq = <&sdio_pwrseq>; | ||
| no-mmc; | ||
| no-sd; | ||
| non-removable; | ||
| sd-uhs-sdr50; | ||
| vmmc-supply = <&vcc_io>; | ||
| vqmmc-supply = <&vcc_1v8>; | ||
| non-removable; | ||
| sd-uhs-sdr104; | ||
| status = "okay"; | ||
|
|
||
| rtl8723ds: wifi@1 { | ||
| reg = <1>; | ||
| interrupt-parent = <&gpio0>; | ||
| interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>; | ||
| interrupts = <RK_PA0 GPIO_ACTIVE_HIGH>; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 中断不能使用GPIO相关的常量 |
||
| interrupt-names = "host-wake"; | ||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <&wifi_host_wake>; | ||
|
|
@@ -283,7 +298,7 @@ | |
| &uart0 { | ||
| pinctrl-names = "default"; | ||
| pinctrl-0 = <&uart0_xfer>; | ||
| status = "okay"; | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| &uart4 { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -356,8 +356,8 @@ int stmmac_mdio_idle(struct mii_bus *bus) | |
| reset_gpio = devm_gpiod_get_optional(priv->device, | ||
| "snps,reset", | ||
| GPIOD_OUT_HIGH); | ||
| if (IS_ERR(reset_gpio)) | ||
| return PTR_ERR(reset_gpio); | ||
| if (IS_ERR_OR_NULL(reset_gpio)) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 所以电路上是没有接reset么?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @RadxaYuntian 天哥,明天重新整理下所有提交,stephen 说让我找找linux-6.1-stan-rkr7的提交,最好 cherry-pick |
||
| return PTR_ERR_OR_ZERO(reset_gpio); | ||
|
|
||
| devm_gpiod_put(priv->device, reset_gpio); | ||
| } | ||
|
|
@@ -386,8 +386,8 @@ int stmmac_mdio_reset(struct mii_bus *bus) | |
| reset_gpio = devm_gpiod_get_optional(priv->device, | ||
| "snps,reset", | ||
| GPIOD_OUT_LOW); | ||
| if (IS_ERR(reset_gpio)) | ||
| return PTR_ERR(reset_gpio); | ||
| if (IS_ERR_OR_NULL(reset_gpio)) | ||
| return PTR_ERR_OR_ZERO(reset_gpio); | ||
|
|
||
| device_property_read_u32_array(priv->device, | ||
| "snps,reset-delays-us", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个改动应该会导致启动问题,我们的bootargs都是uboot读取启动配置再传入的