auto_calc_scl_lhcnt;
status = "okay";
- sc2235@30 {
+ sc22235: sc2235@30 {
compatible = "sc2235";
reg = <0x30>;
clocks = <&clk_ext_camera>;
sc2235-pwdn-gpios = <&gpio 15 0>;
sc2235-esync-gpios = <&gpio 17 0>;
sc2235-oen-gpios = <&gpio 18 0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&sc2235_pins>;
port {
/* Parallel bus endpoint */
{
/*
* pin: 21 ~ 35
- * offset: 0x144 ~ 0x164
+ * iomux
* SCFG_funcshare_pad_ctrl
*/
+#if 0
reg_phy_write(U0_SYS_IOMUX__SAIF_BD_APBS__BASE_ADDR, 0x0174U, 0x1);
reg_phy_write(U0_SYS_IOMUX__SAIF_BD_APBS__BASE_ADDR, 0x02a0U, 0x10);
reg_phy_write(U0_SYS_IOMUX__SAIF_BD_APBS__BASE_ADDR, 0x02b4U, 0x200000);
reg_phy_write(U0_SYS_IOMUX__SAIF_BD_APBS__BASE_ADDR, 0x01acU, 0x11);
reg_phy_write(U0_SYS_IOMUX__SAIF_BD_APBS__BASE_ADDR, 0x02a4U, 0x12492);
reg_phy_write(U0_SYS_IOMUX__SAIF_BD_APBS__BASE_ADDR, 0x02b0U, 0x24924800);
-
+#endif
}
static int stf_dvp_config_set(struct stf_dvp_dev *dvp_dev)