Skip to content

Commit

Permalink
Restoring old bplus section...
Browse files Browse the repository at this point in the history
...and a slew of LAN_RESET pins for backwards compatibility
  • Loading branch information
pelwell committed Jun 3, 2015
1 parent 758d9af commit a36e9ee
Showing 1 changed file with 134 additions and 0 deletions.
134 changes: 134 additions & 0 deletions setup/dt-blob-dpi.dts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
type = "internal";
number = <6>;
};
pin_define@LAN_RESET {
type = "internal";
number = <6>;
};
pin_define@SMPS_SDA {
type = "absent";
};
Expand Down Expand Up @@ -223,6 +227,10 @@
type = "internal";
number = <6>;
};
pin_define@LAN_RESET {
type = "internal";
number = <6>;
};
pin_define@SMPS_SDA {
type = "absent";
};
Expand Down Expand Up @@ -377,6 +385,10 @@
type = "internal";
number = <35>;
};
pin_define@LAN_RESET {
type = "internal";
number = <35>;
};
pin_define@SMPS_SDA {
type = "absent";
};
Expand Down Expand Up @@ -534,6 +546,10 @@
type = "internal";
number = <31>;
};
pin_define@LAN_RESET {
type = "internal";
number = <31>;
};
pin_define@SMPS_SDA {
type = "absent";
};
Expand Down Expand Up @@ -844,6 +860,10 @@
type = "internal";
number = <31>;
};
pin_define@LAN_RESET {
type = "internal";
number = <31>;
};
pin_define@SMPS_SDA {
type = "internal";
number = <28>;
Expand Down Expand Up @@ -1008,6 +1028,10 @@
type = "internal";
number = <31>;
};
pin_define@LAN_RESET {
type = "internal";
number = <31>;
};
pin_define@SMPS_SDA {
type = "internal";
number = <43>;
Expand Down Expand Up @@ -1082,5 +1106,115 @@
pin_defines {
}; // pin_defines
}; // pins_cm

// Old bplus section for backwards compatibility
pins_bplus {
pin_config {
pin@default {
polarity = "active_high";
termination = "pull_down";
startup_state = "inactive";
function = "input";
}; // pin
pin@p2 { function = "dpi"; termination = "no_pulling"; drive_strength_mA = < 8 >; };
pin@p3 { function = "dpi"; termination = "no_pulling"; };
pin@p4 { function = "dpi"; termination = "no_pulling"; };
pin@p5 { function = "dpi"; termination = "no_pulling"; };
pin@p6 { function = "dpi"; termination = "no_pulling"; };
pin@p7 { function = "dpi"; termination = "no_pulling"; };
pin@p8 { function = "dpi"; termination = "no_pulling"; };
pin@p9 { function = "dpi"; termination = "no_pulling"; };
pin@p10 { function = "dpi"; termination = "no_pulling"; };
pin@p11 { function = "dpi"; termination = "no_pulling"; };
pin@p12 { function = "dpi"; termination = "no_pulling"; };
pin@p13 { function = "dpi"; termination = "no_pulling"; };
pin@p14 { function = "dpi"; termination = "no_pulling"; };
pin@p15 { function = "dpi"; termination = "no_pulling"; };
pin@p16 { function = "dpi"; termination = "no_pulling"; };
pin@p17 { function = "dpi"; termination = "no_pulling"; };
pin@p18 { function = "dpi"; termination = "no_pulling"; };
pin@p19 { function = "dpi"; termination = "no_pulling"; };
pin@p20 { function = "dpi"; termination = "no_pulling"; };
pin@p21 { function = "dpi"; termination = "no_pulling"; };

pin@p28 { function = "i2c0"; termination = "pull_up"; }; // I2C 0 SDA
pin@p29 { function = "i2c0"; termination = "pull_up"; }; // I2C 0 SCL
pin@p31 { function = "output"; termination = "pull_down"; }; // LAN NRESET
pin@p32 { function = "output"; termination = "pull_down"; }; // Camera LED
pin@p35 { function = "input"; termination = "no_pulling"; polarity = "active_low"; }; // Power low
pin@p38 { function = "output"; termination = "no_pulling"; }; // USB current limit (0=600mA, 1=1200mA)
pin@p40 { function = "pwm"; termination = "no_pulling"; drive_strength_mA = < 16 >; }; // Left audio
pin@p41 { function = "output"; termination = "no_pulling"; }; // Camera enable
pin@p44 { function = "gp_clk"; termination = "pull_down"; }; // Ethernet 25MHz output
pin@p45 { function = "pwm"; termination = "no_pulling"; drive_strength_mA = < 16 >; }; // Right audio
pin@p46 { function = "input"; termination = "no_pulling"; polarity = "active_low"; }; // Hotplug
pin@p47 { function = "output"; termination = "pull_down"; }; // activity LED
pin@p48 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = < 8 >; }; // SD CLK
pin@p49 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = < 8 >; }; // SD CMD
pin@p50 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = < 8 >; }; // SD D0
pin@p51 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = < 8 >; }; // SD D1
pin@p52 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = < 8 >; }; // SD D2
pin@p53 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = < 8 >; }; // SD D3

}; // pin_config
pin_defines {
pin_define@HDMI_CONTROL_ATTACHED {
type = "internal";
number = <46>;
};
pin_define@NUM_CAMERAS {
type = "internal";
number = <1>;
};
pin_define@CAMERA_0_I2C_PORT {
type = "internal";
number = <0>;
};
pin_define@CAMERA_0_SDA_PIN {
type = "internal";
number = <28>;
};
pin_define@CAMERA_0_SCL_PIN {
type = "internal";
number = <29>;
};
pin_define@CAMERA_0_SHUTDOWN {
type = "internal";
number = <41>;
};
pin_define@CAMERA_0_UNICAM_PORT {
type = "internal";
number = <1>;
};
pin_define@CAMERA_0_LED {
type = "internal";
number = <32>;
};
pin_define@FLASH_0_ENABLE {
type = "absent";
};
pin_define@FLASH_0_INDICATOR {
type = "absent";
};
pin_define@FLASH_1_ENABLE {
type = "absent";
};
pin_define@FLASH_1_INDICATOR {
type = "absent";
};
pin_define@POWER_LOW {
type = "internal";
number = <35>;
};
pin_define@LEDS_DISK_ACTIVITY {
type = "internal";
number = <47>;
};
pin_define@LAN_RESET {
type = "internal";
number = <31>;
};
}; // pin_defines
}; // pins
};
};

0 comments on commit a36e9ee

Please sign in to comment.