112a113,119
>
> /* fixed 32k external oscillator clock */
> clk_32k_rtc: clk_32k_rtc {
> #clock-cells = <0>;
> compatible = "fixed-clock";
> clock-frequency = <32768>;
> };
118c125
< 0x1b8 (PIN_INPUT | MUX_MODE7) /* cam0_field.gpio4_2 */
---
> AM4372_IOPAD(0x9b8, PIN_INPUT | MUX_MODE7) /* cam0_field.gpio4_2 */
124,125c131,132
< 0x188 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
< 0x18c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
---
> AM4372_IOPAD(0x988, PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
> AM4372_IOPAD(0x98c, PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
131,132c138,139
< 0x188 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x18c (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x988, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x98c, PIN_INPUT_PULLDOWN | MUX_MODE7)
136c143
< i2c1_pins_default: i2c1_pins_default {
---
> i2c2_pins_default: i2c2_pins_default {
138,139c145,146
< 0x15c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */
< 0x158 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */
---
> AM4372_IOPAD(0x9e8, PIN_INPUT | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data1.i2c2_scl */
> AM4372_IOPAD(0x9ec, PIN_INPUT | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data0.i2c2_sda */
143c150
< i2c1_pins_sleep: i2c1_pins_sleep {
---
> i2c2_pins_sleep: i2c2_pins_sleep {
145,146c152,153
< 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_cs0.i2c1_scl */
< 0x158 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_d1.i2c1_sda */
---
> AM4372_IOPAD(0x9e8, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9ec, PIN_INPUT_PULLDOWN | MUX_MODE7)
152,158c159,165
< 0x100 (PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk */
< 0x104 (PIN_INPUT | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
< 0x1f0 (PIN_INPUT | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
< 0x1f4 (PIN_INPUT | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
< 0x1f8 (PIN_INPUT | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
< 0x1fc (PIN_INPUT | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
< 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
---
> AM4372_IOPAD(0x900, PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk */
> AM4372_IOPAD(0x904, PIN_INPUT | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
> AM4372_IOPAD(0x9f0, PIN_INPUT | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
> AM4372_IOPAD(0x9f4, PIN_INPUT | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
> AM4372_IOPAD(0x9f8, PIN_INPUT | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
> AM4372_IOPAD(0x9fc, PIN_INPUT | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
> AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
164,170c171,177
< 0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x1f0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x1f4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x1f8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x1fc (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x160 (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x900, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x904, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9f0, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9f4, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9f8, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9fc, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x960, PIN_INPUT_PULLDOWN | MUX_MODE7)
176c183
< 0x164 (PIN_OUTPUT | MUX_MODE0) /* ecap0_in_pwm0_out.ecap0_in_pwm0_out */
---
> AM4372_IOPAD(0x964, PIN_OUTPUT | MUX_MODE0) /* ecap0_in_pwm0_out.ecap0_in_pwm0_out */
182,193c189,200
< 0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
< 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
< 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
< 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
< 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td2 */
< 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td3 */
< 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rmii1_rclk */
< 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
< 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
< 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
< 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd2 */
< 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd3 */
---
> AM4372_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
> AM4372_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
> AM4372_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
> AM4372_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
> AM4372_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td2 */
> AM4372_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td3 */
> AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rmii1_rclk */
> AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
> AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
> AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
> AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd2 */
> AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd3 */
199,210c206,217
< 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
217,218c224,225
< 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
< 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
---
> AM4372_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
> AM4372_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
225,226c232,233
< 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
232,237c239,244
< 0x7c (PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_csn0.qspi_csn */
< 0x88 (PIN_OUTPUT | MUX_MODE2) /* gpmc_csn3.qspi_clk */
< 0x90 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_advn_ale.qspi_d0 */
< 0x94 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_oen_ren.qspi_d1 */
< 0x98 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_wen.qspi_d2 */
< 0x9c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_be0n_cle.qspi_d3 */
---
> AM4372_IOPAD(0x87c, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_csn0.qspi_csn */
> AM4372_IOPAD(0x888, PIN_OUTPUT | MUX_MODE2) /* gpmc_csn3.qspi_clk */
> AM4372_IOPAD(0x890, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_advn_ale.qspi_d0 */
> AM4372_IOPAD(0x894, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_oen_ren.qspi_d1 */
> AM4372_IOPAD(0x898, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_wen.qspi_d2 */
> AM4372_IOPAD(0x89c, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_be0n_cle.qspi_d3 */
243,248c250,255
< 0x7c (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x87c, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x888, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x890, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x894, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x898, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x89c, PIN_INPUT_PULLDOWN | MUX_MODE7)
257c264
< pinctrl-1 = <&i2c0_pins_default>;
---
> pinctrl-1 = <&i2c0_pins_sleep>;
265d271
< };
267,273d272
< &i2c1 {
< status = "okay";
< pinctrl-names = "default", "sleep";
< pinctrl-0 = <&i2c1_pins_default>;
< pinctrl-1 = <&i2c1_pins_default>;
< clock-frequency = <400000>;
<
275a275
> reg = <0x60>;
286a287,294
> &i2c2 {
> status = "okay";
> pinctrl-names = "default", "sleep";
> pinctrl-0 = <&i2c2_pins_default>;
> pinctrl-1 = <&i2c2_pins_sleep>;
> clock-frequency = <100000>;
> };
>
320c328
< cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
---
> cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
395a404,405
> clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
> clock-names = "ext-clk", "int-clk";
>
> /* fixed 32k external oscillator clock */
> clk_32k_rtc: clk_32k_rtc {
> #clock-cells = <0>;
> compatible = "fixed-clock";
> clock-frequency = <32768>;
> };
118c125
< 0x1b8 (PIN_INPUT | MUX_MODE7) /* cam0_field.gpio4_2 */
---
> AM4372_IOPAD(0x9b8, PIN_INPUT | MUX_MODE7) /* cam0_field.gpio4_2 */
124,125c131,132
< 0x188 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
< 0x18c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
---
> AM4372_IOPAD(0x988, PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
> AM4372_IOPAD(0x98c, PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
131,132c138,139
< 0x188 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x18c (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x988, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x98c, PIN_INPUT_PULLDOWN | MUX_MODE7)
136c143
< i2c1_pins_default: i2c1_pins_default {
---
> i2c2_pins_default: i2c2_pins_default {
138,139c145,146
< 0x15c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */
< 0x158 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */
---
> AM4372_IOPAD(0x9e8, PIN_INPUT | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data1.i2c2_scl */
> AM4372_IOPAD(0x9ec, PIN_INPUT | SLEWCTRL_FAST | MUX_MODE3) /* cam1_data0.i2c2_sda */
143c150
< i2c1_pins_sleep: i2c1_pins_sleep {
---
> i2c2_pins_sleep: i2c2_pins_sleep {
145,146c152,153
< 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_cs0.i2c1_scl */
< 0x158 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_d1.i2c1_sda */
---
> AM4372_IOPAD(0x9e8, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9ec, PIN_INPUT_PULLDOWN | MUX_MODE7)
152,158c159,165
< 0x100 (PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk */
< 0x104 (PIN_INPUT | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
< 0x1f0 (PIN_INPUT | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
< 0x1f4 (PIN_INPUT | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
< 0x1f8 (PIN_INPUT | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
< 0x1fc (PIN_INPUT | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
< 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
---
> AM4372_IOPAD(0x900, PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk */
> AM4372_IOPAD(0x904, PIN_INPUT | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
> AM4372_IOPAD(0x9f0, PIN_INPUT | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
> AM4372_IOPAD(0x9f4, PIN_INPUT | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
> AM4372_IOPAD(0x9f8, PIN_INPUT | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
> AM4372_IOPAD(0x9fc, PIN_INPUT | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
> AM4372_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
164,170c171,177
< 0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x1f0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x1f4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x1f8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x1fc (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x160 (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x900, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x904, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9f0, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9f4, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9f8, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x9fc, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x960, PIN_INPUT_PULLDOWN | MUX_MODE7)
176c183
< 0x164 (PIN_OUTPUT | MUX_MODE0) /* ecap0_in_pwm0_out.ecap0_in_pwm0_out */
---
> AM4372_IOPAD(0x964, PIN_OUTPUT | MUX_MODE0) /* ecap0_in_pwm0_out.ecap0_in_pwm0_out */
182,193c189,200
< 0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
< 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
< 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
< 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
< 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td2 */
< 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td3 */
< 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rmii1_rclk */
< 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
< 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
< 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
< 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd2 */
< 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd3 */
---
> AM4372_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */
> AM4372_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */
> AM4372_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */
> AM4372_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */
> AM4372_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td2 */
> AM4372_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td3 */
> AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rmii1_rclk */
> AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */
> AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */
> AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */
> AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd2 */
> AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd3 */
199,210c206,217
< 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
217,218c224,225
< 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
< 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
---
> AM4372_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
> AM4372_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
225,226c232,233
< 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
232,237c239,244
< 0x7c (PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_csn0.qspi_csn */
< 0x88 (PIN_OUTPUT | MUX_MODE2) /* gpmc_csn3.qspi_clk */
< 0x90 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_advn_ale.qspi_d0 */
< 0x94 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_oen_ren.qspi_d1 */
< 0x98 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_wen.qspi_d2 */
< 0x9c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_be0n_cle.qspi_d3 */
---
> AM4372_IOPAD(0x87c, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_csn0.qspi_csn */
> AM4372_IOPAD(0x888, PIN_OUTPUT | MUX_MODE2) /* gpmc_csn3.qspi_clk */
> AM4372_IOPAD(0x890, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_advn_ale.qspi_d0 */
> AM4372_IOPAD(0x894, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_oen_ren.qspi_d1 */
> AM4372_IOPAD(0x898, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_wen.qspi_d2 */
> AM4372_IOPAD(0x89c, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_be0n_cle.qspi_d3 */
243,248c250,255
< 0x7c (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7)
< 0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7)
---
> AM4372_IOPAD(0x87c, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x888, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x890, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x894, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x898, PIN_INPUT_PULLDOWN | MUX_MODE7)
> AM4372_IOPAD(0x89c, PIN_INPUT_PULLDOWN | MUX_MODE7)
257c264
< pinctrl-1 = <&i2c0_pins_default>;
---
> pinctrl-1 = <&i2c0_pins_sleep>;
265d271
< };
267,273d272
< &i2c1 {
< status = "okay";
< pinctrl-names = "default", "sleep";
< pinctrl-0 = <&i2c1_pins_default>;
< pinctrl-1 = <&i2c1_pins_default>;
< clock-frequency = <400000>;
<
275a275
> reg = <0x60>;
286a287,294
> &i2c2 {
> status = "okay";
> pinctrl-names = "default", "sleep";
> pinctrl-0 = <&i2c2_pins_default>;
> pinctrl-1 = <&i2c2_pins_sleep>;
> clock-frequency = <100000>;
> };
>
320c328
< cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
---
> cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
395a404,405
> clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
> clock-names = "ext-clk", "int-clk";