Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5375

Troubleshooting • Re: Zero 2w dt-blob.dts

$
0
0
Can I ask why?
dt-blob.bin is the wrong answer for almost everything these days.

The blob files on https://datasheets.raspberrypi.com/ for adding cameras/displays to Compute Modules on the legacy stack (really the only reason for using dt-blob.bin) are more recent than https://github.com/raspberrypi/firmware ... t-blob.dts and includes Pi02W.

Code:

      pins_pi02w { // Pi Zero 2 W         pin_config {            pin@default {               polarity = "active_high";               termination = "pull_down";               startup_state = "inactive";               function = "input";            }; // pin            pin@p14 { function = "uart0";  termination = "no_pulling"; drive_strength_mA = < 8 >; }; // TX uart0            pin@p15 { function = "uart0";  termination = "pull_up";    drive_strength_mA = < 8 >; }; // RX uart0            pin@p28 { function = "input";  termination = "no_pulling"; polarity = "active_low"; }; // Hotplug            pin@p29 { function = "output"; termination = "pull_up"; }; // ACT_LED (GREEN)            pin@p34 { function = "input";  termination = "pull_up";    drive_strength_mA = < 8 >; };            pin@p35 { function = "input";  termination = "pull_up";    drive_strength_mA = < 8 >; };            pin@p36 { function = "input";  termination = "pull_up";    drive_strength_mA = < 8 >; };            pin@p37 { function = "input";  termination = "pull_up";    drive_strength_mA = < 8 >; };            pin@p38 { function = "input";  termination = "pull_up";    drive_strength_mA = < 8 >; };            pin@p39 { function = "input";  termination = "pull_up";    drive_strength_mA = < 8 >; };            pin@p40 { function = "output"; termination = "no_pulling"; }; // Camera shutdown            pin@p41 { function = "output"; termination = "no_pulling"; }; // WL_ON            pin@p42 { function = "output"; termination = "no_pulling"; }; // BT_ON            pin@p43 { function = "gp_clk"; termination = "pull_down"; }; // WIFI_CLK - Wifi 32kHz output            pin@p44 { function = "input";   termination = "pull_up";    }; // I2C 0 SDA            pin@p45 { function = "input";   termination = "pull_up";    }; // I2C 0 SCL            pin@p46 { function = "input";   termination = "pull_up";    }; // SMPS_SCL            pin@p47 { function = "input";   termination = "pull_up";    }; // SMPS_SDA            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 = <28>;            };            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 = <44>;            };            pin_define@CAMERA_0_SCL_PIN {               type = "internal";               number = <45>;            };            pin_define@CAMERA_0_SHUTDOWN {               type = "internal";               number = <40>;            };            pin_define@CAMERA_0_UNICAM_PORT {               type = "internal";               number = <1>;            };            pin_define@CAMERA_0_LED {               type = "absent";            };            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 = "absent";            };            pin_define@LEDS_DISK_ACTIVITY {               type = "internal";               number = <29>;            };            pin_define@LAN_RUN {               type = "absent";            };            pin_define@LAN_RUN_BOOT {               type = "absent";            };            pin_define@BT_ON {               type = "internal";               number = <42>;            };            pin_define@WL_ON {               type = "internal";               number = <41>;            };            pin_define@WL_LPO_CLK {               type = "internal";               number = <43>;            };            pin_define@SMPS_SDA {               type = "internal";               number = <46>;            };            pin_define@SMPS_SCL {               type = "internal";               number = <47>;            };            pin_define@ETH_CLK {               type = "absent";            };            pin_define@USB_LIMIT_1A2 {               type = "absent";            };            pin_define@SIO_1V8_SEL {               type = "absent";            };            pin_define@PWML {               type = "absent";            };            pin_define@PWMR {               type = "absent";            };            pin_define@SAFE_MODE {               type = "absent";            };            pin_define@SD_CARD_DETECT {               type = "absent";            };            pin_define@ID_SDA {               type = "internal";               number = <0>;            };            pin_define@ID_SCL {               type = "internal";               number = <1>;            };            pin_define@DISPLAY_I2C_PORT {               type = "absent";            };            pin_define@DISPLAY_SDA {               type = "absent";            };            pin_define@DISPLAY_SCL {               type = "absent";            };         }; // pin_defines      }; // pins

Statistics: Posted by 6by9 — Tue Apr 02, 2024 7:37 pm



Viewing all articles
Browse latest Browse all 5375

Trending Articles