mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 07:36:44 +07:00
93fff4ce19
When DT support for kirkwood was first introduced, there was no clock infrastructure. As a result, we had to manually pass the clock-frequency to the driver from the device node. Unfortunately, on kirkwood, with minimal config or all module configs, clock-frequency breaks booting because of_serial doesn't consume the gate_clk when clock-frequency is defined. The end result on kirkwood is that runit gets gated, and then the boot fails when the kernel tries to write to the serial port. Fix the issue by removing the clock-frequency parameter from all kirkwood dts files. Booted on dreamplug without earlyprintk and successfully logged in via ttyS0. Reported-by: Simon Baatz <gmbnomis@gmail.com> Tested-by: Simon Baatz <gmbnomis@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
/dts-v1/;
|
|
|
|
/include/ "kirkwood-dnskw.dtsi"
|
|
|
|
/ {
|
|
model = "D-Link DNS-325 NAS (Rev A1)";
|
|
compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x10000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
white-power {
|
|
label = "dns325:white:power";
|
|
gpios = <&gpio0 26 1>; /* GPIO 26 Active Low */
|
|
linux,default-trigger = "default-on";
|
|
};
|
|
white-usb {
|
|
label = "dns325:white:usb";
|
|
gpios = <&gpio1 11 1>; /* GPIO 43 Active Low */
|
|
};
|
|
red-l_hdd {
|
|
label = "dns325:red:l_hdd";
|
|
gpios = <&gpio0 28 1>; /* GPIO 28 Active Low */
|
|
};
|
|
red-r_hdd {
|
|
label = "dns325:red:r_hdd";
|
|
gpios = <&gpio0 27 1>; /* GPIO 27 Active Low */
|
|
};
|
|
red-usb {
|
|
label = "dns325:red:usb";
|
|
gpios = <&gpio0 29 1>; /* GPIO 29 Active Low */
|
|
};
|
|
};
|
|
|
|
ocp@f1000000 {
|
|
i2c@11000 {
|
|
status = "okay";
|
|
|
|
lm75: lm75@48 {
|
|
compatible = "national,lm75";
|
|
reg = <0x48>;
|
|
};
|
|
};
|
|
serial@12000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|