Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions arch/arm64/boot/dts/exynos/google/gs201-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -497,3 +497,19 @@
samsung,pin-pud = <GS101_PIN_PULL_NONE>;
};
};

&pinctrl_hsi2 {
gph2: gph2-gpio-bank {
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};

gph4: gph4-gpio-bank {
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
10 changes: 10 additions & 0 deletions arch/arm64/boot/dts/exynos/google/gs201.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
pinctrl1 = &pinctrl_far_alive;
pinctrl4 = &pinctrl_peric0;
pinctrl5 = &pinctrl_peric1;
pinctrl7 = &pinctrl_hsi2;
};

/* Required by the Pixel bootloader (ABL). */
Expand Down Expand Up @@ -868,6 +869,15 @@
clocks = <&cmu_hsi2 CLK_GOUT_HSI2_SYSREG_HSI2_PCLK>;
};

pinctrl_hsi2: pinctrl@14440000 {
compatible = "google,gs201-pinctrl";
reg = <0x14440000 0x1000>;
clocks = <&cmu_hsi2 CLK_GOUT_HSI2_GPIO_HSI2_PCLK>;
clock-names = "pclk";
interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

/*
* No gs201 pinctrl driver yet: the UFS reset (gph3-1) and
* reference clock output (gph3-0) pins on the HSI2UFS pin
Expand Down