arch/arm: reMarkable2: Enable rohm,bd71815
Signed-off-by: Alistair Francis <alistair@alistair23.me>zero-sugar-mainline-defconfig
parent
92cb9ba61d
commit
705d4fd17c
|
@ -156,6 +156,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&cpu0 {
|
||||||
|
cpu-supply = <&buck1_reg>;
|
||||||
|
};
|
||||||
|
|
||||||
&clks {
|
&clks {
|
||||||
assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>,
|
assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>,
|
||||||
<&clks IMX7D_CLKO2_ROOT_DIV>;
|
<&clks IMX7D_CLKO2_ROOT_DIV>;
|
||||||
|
@ -195,6 +199,143 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&i2c2 {
|
||||||
|
clock-frequency = <100000>;
|
||||||
|
pinctrl-names = "default", "sleep";
|
||||||
|
pinctrl-0 = <&pinctrl_i2c2>;
|
||||||
|
pinctrl-1 = <&pinctrl_i2c2>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
pmic: bd71815@4b {
|
||||||
|
reg = <0x4b>;
|
||||||
|
compatible = "rohm,bd71815";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_bd71815>;
|
||||||
|
/* PMIC_INT_B GPIO6_IO16 */
|
||||||
|
gpio_intr = <&gpio6 16 0>;
|
||||||
|
|
||||||
|
regulators {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
buck1_reg: regulator@0 {
|
||||||
|
reg = <0>;
|
||||||
|
regulator-compatible = "buck1";
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
|
regulator-max-microvolt = <2000000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-ramp-delay = <1250>;
|
||||||
|
};
|
||||||
|
|
||||||
|
buck2_reg: regulator@1 {
|
||||||
|
reg = <1>;
|
||||||
|
regulator-compatible = "buck2";
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
|
regulator-max-microvolt = <2000000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-ramp-delay = <1250>;
|
||||||
|
};
|
||||||
|
|
||||||
|
buck3_reg: regulator@2 {
|
||||||
|
reg = <2>;
|
||||||
|
regulator-compatible = "buck3";
|
||||||
|
regulator-min-microvolt = <1200000>;
|
||||||
|
regulator-max-microvolt = <2700000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
buck4_reg: regulator@3 {
|
||||||
|
reg = <3>;
|
||||||
|
regulator-compatible = "buck4";
|
||||||
|
regulator-min-microvolt = <1100000>;
|
||||||
|
regulator-max-microvolt = <1850000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
buck5_reg: regulator@4 {
|
||||||
|
reg = <4>;
|
||||||
|
regulator-compatible = "buck5";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
ldo1_reg: regulator@5 {
|
||||||
|
reg = <5>;
|
||||||
|
regulator-compatible = "ldo1";
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
ldo2_reg: regulator@6 {
|
||||||
|
reg = <6>;
|
||||||
|
regulator-compatible = "ldo2";
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
ldo3_reg: regulator@7 {
|
||||||
|
reg = <7>;
|
||||||
|
regulator-compatible = "ldo3";
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
ldo4_reg: regulator@8 {
|
||||||
|
reg = <8>;
|
||||||
|
regulator-compatible = "ldo4";
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
ldo5_reg: regulator@9 {
|
||||||
|
reg = <9>;
|
||||||
|
regulator-compatible = "ldo5";
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
dvref_reg: regulator@10 {
|
||||||
|
reg = <10>;
|
||||||
|
regulator-compatible = "dvref";
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
lpsr_reg: regulator@11 {
|
||||||
|
reg = <11>;
|
||||||
|
regulator-compatible = "lpsr";
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
wled_reg: regulator@12 {
|
||||||
|
reg = <12>;
|
||||||
|
regulator-compatible = "wled";
|
||||||
|
regulator-min-microamp = <10>;
|
||||||
|
regulator-max-microamp = <25000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&i2c3 {
|
&i2c3 {
|
||||||
clock-frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
|
@ -454,6 +595,13 @@
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinctrl_i2c2: i2c2grp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f
|
||||||
|
MX7D_PAD_I2C2_SCL__I2C2_SCL 0x4000007f
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_i2c3: i2c3grp {
|
pinctrl_i2c3: i2c3grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f
|
MX7D_PAD_I2C3_SDA__I2C3_SDA 0x4000007f
|
||||||
|
|
|
@ -179,6 +179,7 @@ CONFIG_SPI_SLAVE_SYSTEM_CONTROL=y
|
||||||
CONFIG_GPIO_SYSFS=y
|
CONFIG_GPIO_SYSFS=y
|
||||||
CONFIG_GPIO_MAX732X=y
|
CONFIG_GPIO_MAX732X=y
|
||||||
CONFIG_GPIO_PCA953X=y
|
CONFIG_GPIO_PCA953X=y
|
||||||
|
CONFIG_GPIO_BD7181X=y
|
||||||
CONFIG_GPIO_74X164=y
|
CONFIG_GPIO_74X164=y
|
||||||
CONFIG_POWER_RESET=y
|
CONFIG_POWER_RESET=y
|
||||||
CONFIG_POWER_RESET_SYSCON_POWEROFF=y
|
CONFIG_POWER_RESET_SYSCON_POWEROFF=y
|
||||||
|
@ -196,6 +197,7 @@ CONFIG_MFD_MC13XXX_I2C=y
|
||||||
CONFIG_MFD_SI476X_CORE=y
|
CONFIG_MFD_SI476X_CORE=y
|
||||||
CONFIG_MFD_STMPE=y
|
CONFIG_MFD_STMPE=y
|
||||||
CONFIG_MFD_SY7636A=y
|
CONFIG_MFD_SY7636A=y
|
||||||
|
CONFIG_MFD_ROHM_BD718XX=y
|
||||||
CONFIG_REGULATOR=y
|
CONFIG_REGULATOR=y
|
||||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||||
CONFIG_REGULATOR_ANATOP=y
|
CONFIG_REGULATOR_ANATOP=y
|
||||||
|
|
Loading…
Reference in New Issue