mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-13 03:41:54 +00:00
84 lines
1.4 KiB
Text
84 lines
1.4 KiB
Text
#include "qcom-ipq4019-ap.dk01.1.dtsi"
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include "platform_name.dtsi"
|
|
|
|
/ {
|
|
compatible = "teltonika,rutx", "qcom,ap-dk01.1-c2", "qcom,ipq4019";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x80000000 0x10000000>;
|
|
};
|
|
|
|
soc {
|
|
mdio@90000 {
|
|
status = "ok";
|
|
pinctrl-0 = <&mdio_pins>;
|
|
pinctrl-names = "default";
|
|
phy-reset-gpio = <&tlmm 62 0>;
|
|
|
|
ethphy4: ethernet-phy@4 {
|
|
qcom,fiber-enable;
|
|
};
|
|
};
|
|
|
|
pinctrl@1000000 {
|
|
mdio_pins: mdio_pinmux {
|
|
mux_1 {
|
|
pins = "gpio53";
|
|
function = "mdio";
|
|
bias-pull-up;
|
|
};
|
|
mux_2 {
|
|
pins = "gpio52";
|
|
function = "mdc";
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
};
|
|
|
|
spi_0: spi@78b5000 {
|
|
cs-gpios = <&tlmm 54 0>, <&tlmm 63 0>;
|
|
num-cs = <2>;
|
|
|
|
mx25l25635f@0 {
|
|
compatible = "n25q128a11", "mx25l25635f", "jedec,spi-nor";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0>;
|
|
spi-max-frequency = <24000000>;
|
|
};
|
|
|
|
mt29f@1 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "spi-nand","spinand,mt29f";
|
|
reg = <1>;
|
|
spi-max-frequency = <24000000>;
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
|
|
reset {
|
|
label = "reset";
|
|
gpios = <&tlmm 4 1>;
|
|
linux,code = <0x198>;
|
|
};
|
|
};
|
|
|
|
usb3: usb3@8af8800 {
|
|
dwc3@8a00000 {
|
|
snps,dis_u2_susphy_quirk;
|
|
snps,dis_u3_susphy_quirk;
|
|
};
|
|
};
|
|
|
|
usb2: usb2@60f8800 {
|
|
dwc3@6000000 {
|
|
snps,dis_u2_susphy_quirk;
|
|
};
|
|
};
|
|
};
|
|
};
|