arm64: dts: mediatek: cherry: Fix interrupt cells for MT6360 on I2C7
[platform/kernel/linux-starfive.git] / arch / arm64 / boot / dts / mediatek / mt8195-cherry.dtsi
index 8ac80a1..3f508e5 100644 (file)
        };
 };
 
+&gic {
+       mediatek,broken-save-restore-fw;
+};
+
 &gpu {
        status = "okay";
        mali-supply = <&mt6315_7_vbuck1>;
        pinctrl-0 = <&i2c7_pins>;
 
        pmic@34 {
-               #interrupt-cells = <1>;
+               #interrupt-cells = <2>;
                compatible = "mediatek,mt6360";
                reg = <0x34>;
                interrupt-controller;
        };
 };
 
+&pcie1 {
+       status = "okay";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pcie1_pins_default>;
+};
+
 &pio {
        mediatek,rsel-resistance-in-si-unit;
        pinctrl-names = "default";
                };
        };
 
+       pcie0_pins_default: pcie0-default-pins {
+               pins-bus {
+                       pinmux = <PINMUX_GPIO19__FUNC_WAKEN>,
+                                <PINMUX_GPIO20__FUNC_PERSTN>,
+                                <PINMUX_GPIO21__FUNC_CLKREQN>;
+                                bias-pull-up;
+               };
+       };
+
+       pcie1_pins_default: pcie1-default-pins {
+               pins-bus {
+                       pinmux = <PINMUX_GPIO22__FUNC_PERSTN_1>,
+                                <PINMUX_GPIO23__FUNC_CLKREQN_1>,
+                                <PINMUX_GPIO24__FUNC_WAKEN_1>;
+                                bias-pull-up;
+               };
+       };
+
        pio_default: pio-default-pins {
                pins-wifi-enable {
                        pinmux = <PINMUX_GPIO58__FUNC_GPIO58>;